public interface InvokeListener
ParametricBuilder.| Modifier and Type | Method and Description |
|---|---|
InvokeHandler |
createInvokeHandler()
Create a new invocation handler.
|
void |
updateDescription(Set<Annotation> annotations,
ArgumentParser parser,
ImmutableDescription.Builder descriptionBuilder)
Called to update the description of a command.
|
InvokeHandler createInvokeHandler()
An example use of an InvokeHandler would be to verify permissions
added by the Require annotation.
For simple InvokeHandler, an object can implement both this
interface and InvokeHandler.
void updateDescription(Set<Annotation> annotations, ArgumentParser parser, ImmutableDescription.Builder descriptionBuilder)
annotations - Annotations on the commandparser - The parser containing parameter informationdescriptionBuilder - The description builderCopyright © 2015. All Rights Reserved.