Package com.tailf.dp
Class CompletionReply
Object
com.tailf.dp.Completion
com.tailf.dp.CompletionReply
Reply structure container for completion callbacks invoked by a
tailf:cli-completion-actionpoint or a
tailf:cli-custom-range-actionpoint directive.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddCompletion(String completion, String extra) Adding one of possibly many completions as the reply for a callback invocationvoidsetCompletionDesc(String desc) Set the completion description field for this replyvoidsetCompletionInfo(String info) Set the completion info field for this replyMethods inherited from class com.tailf.dp.Completion
newDefaultReply, newRangeEnumReply, newReply
-
Method Details
-
addCompletion
Adding one of possibly many completions as the reply for a callback invocation- Parameters:
completion- String representing a completionextra- currently not used
-
setCompletionInfo
Set the completion info field for this reply- Parameters:
info- String representing the info field
-
setCompletionDesc
Set the completion description field for this reply- Parameters:
desc- String representing the description field
-