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 CLIcli()Stringname()voidprocess(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:
namein classAnnotatedCommand- Returns:
- the command name
-
cli
public CLI cli()
- Overrides:
cliin classAnnotatedCommand- Returns:
- the command line interface, can be null
-
process
public void process(CommandProcess process)
Description copied from class:AnnotatedCommandProcess the command, when the command is done processing it should call theCommandProcess.end()method.- Specified by:
processin classAnnotatedCommand- Parameters:
process- the command process
-
-