Package com.tailf.dp

Class CompletionReply

Object
com.tailf.dp.Completion
com.tailf.dp.CompletionReply

public class CompletionReply extends Completion
Reply structure container for completion callbacks invoked by a tailf:cli-completion-actionpoint or a tailf:cli-custom-range-actionpoint directive.
  • Method Details

    • addCompletion

      public void addCompletion(String completion, String extra)
      Adding one of possibly many completions as the reply for a callback invocation
      Parameters:
      completion - String representing a completion
      extra - currently not used
    • setCompletionInfo

      public void setCompletionInfo(String info)
      Set the completion info field for this reply
      Parameters:
      info - String representing the info field
    • setCompletionDesc

      public void setCompletionDesc(String desc)
      Set the completion description field for this reply
      Parameters:
      desc - String representing the description field