public abstract class AnnotatedCommand extends Object
Constructor and Description |
---|
AnnotatedCommand() |
Modifier and Type | Method and Description |
---|---|
CLI |
cli() |
void |
complete(Completion completion)
Perform command completion, when the command is done completing it should call
Completion.complete(List)
or Completion.complete(String, boolean) )} method to signal completion is done. |
String |
name() |
abstract void |
process(CommandProcess process)
Process the command, when the command is done processing it should call the
CommandProcess.end() method. |
public String name()
public CLI cli()
public abstract void process(CommandProcess process)
CommandProcess.end()
method.process
- the command processpublic void complete(Completion completion)
Completion.complete(List)
or Completion.complete(String, boolean)
)} method to signal completion is done.completion
- the completion objectCopyright © 2024 Eclipse. All rights reserved.