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 voidcomplete(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.voidprocess(CommandProcess process)Process the command, when the command is done processing it should call theCommandProcess.end()method.voidsetDir(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:AnnotatedCommandProcess the command, when the command is done processing it should call theCommandProcess.end()method.- Specified by:
processin classAnnotatedCommand- Parameters:
process- the command process
-
complete
public void complete(Completion completion)
Description copied from class:AnnotatedCommandPerform command completion, when the command is done completing it should callCompletion.complete(List)orCompletion.complete(String, boolean))} method to signal completion is done.- Overrides:
completein classAnnotatedCommand- Parameters:
completion- the completion object
-
-