Package io.vertx.ext.shell.command.base
Class FileSystemCd
- java.lang.Object
-
- io.vertx.ext.shell.command.AnnotatedCommand
-
- io.vertx.ext.shell.command.base.FileSystemCd
-
public class FileSystemCd extends AnnotatedCommand
- Author:
- Julien Viet
-
-
Constructor Summary
Constructors Constructor Description FileSystemCd()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
complete(Completion completion)
Perform command completion, when the command is done completing it should callCompletion.complete(List)
orCompletion.complete(String, boolean)
)} method to signal completion is done.void
process(CommandProcess process)
Process the command, when the command is done processing it should call theCommandProcess.end()
method.void
setDir(String dir)
-
Methods inherited from class io.vertx.ext.shell.command.AnnotatedCommand
cli, name
-
-
-
-
Method Detail
-
setDir
public void setDir(String dir)
-
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
-
complete
public void complete(Completion completion)
Description copied from class:AnnotatedCommand
Perform command completion, when the command is done completing it should callCompletion.complete(List)
orCompletion.complete(String, boolean)
)} method to signal completion is done.- Overrides:
complete
in classAnnotatedCommand
- Parameters:
completion
- the completion object
-
-