Package io.vertx.ext.shell.command.base
Class Echo
- java.lang.Object
-
- io.vertx.ext.shell.command.AnnotatedCommand
-
- io.vertx.ext.shell.command.base.Echo
-
public class Echo extends AnnotatedCommand
- Author:
- Julien Viet
-
-
Constructor Summary
Constructors Constructor Description Echo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CLI
cli()
String
name()
void
process(CommandProcess process)
Process the command, when the command is done processing it should call theCommandProcess.end()
method.-
Methods inherited from class io.vertx.ext.shell.command.AnnotatedCommand
complete
-
-
-
-
Method Detail
-
name
public String name()
- Overrides:
name
in classAnnotatedCommand
- Returns:
- the command name
-
cli
public CLI cli()
- Overrides:
cli
in classAnnotatedCommand
- Returns:
- the command line interface, can be null
-
process
public void process(CommandProcess process)
Description copied from class:AnnotatedCommand
Process the command, when the command is done processing it should call theCommandProcess.end()
method.- Specified by:
process
in classAnnotatedCommand
- Parameters:
process
- the command process
-
-