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 TypeMethodDescriptionvoid
addCompletion
(String completion, String extra) Adding one of possibly many completions as the reply for a callback invocationvoid
setCompletionDesc
(String desc) Set the completion description field for this replyvoid
setCompletionInfo
(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
-