Class ProcessCmd
java.lang.Object
net.thevpc.nsh.cmd.NshBuiltinBase
net.thevpc.nsh.cmd.NshBuiltinDefault
net.thevpc.nsite.executor.nsh.ProcessCmd
- All Implemented Interfaces:
net.thevpc.nsh.cmd.NshBuiltin, net.thevpc.nuts.spi.NComponent
public class ProcessCmd
extends net.thevpc.nsh.cmd.NshBuiltinDefault
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidmain(net.thevpc.nuts.cmdline.NCmdLine cmdLine, net.thevpc.nsh.eval.NshExecutionContext context) protected booleannextNonOption(net.thevpc.nuts.cmdline.NArg arg, net.thevpc.nuts.cmdline.NCmdLine cmdLine, net.thevpc.nsh.eval.NshExecutionContext context) protected booleannextOption(net.thevpc.nuts.cmdline.NArg arg, net.thevpc.nuts.cmdline.NCmdLine cmdLine, net.thevpc.nsh.eval.NshExecutionContext context) Methods inherited from class net.thevpc.nsh.cmd.NshBuiltinBase
autoComplete, cmdLine, createOptions, exec, getHelp, getHelpHeader, getName, init, isEnabled, setEnabled, throwExecutionException, validate
-
Constructor Details
-
ProcessCmd
-
-
Method Details
-
nextOption
protected boolean nextOption(net.thevpc.nuts.cmdline.NArg arg, net.thevpc.nuts.cmdline.NCmdLine cmdLine, net.thevpc.nsh.eval.NshExecutionContext context) - Specified by:
nextOptionin classnet.thevpc.nsh.cmd.NshBuiltinBase
-
main
protected void main(net.thevpc.nuts.cmdline.NCmdLine cmdLine, net.thevpc.nsh.eval.NshExecutionContext context) - Specified by:
mainin classnet.thevpc.nsh.cmd.NshBuiltinBase
-
nextNonOption
protected boolean nextNonOption(net.thevpc.nuts.cmdline.NArg arg, net.thevpc.nuts.cmdline.NCmdLine cmdLine, net.thevpc.nsh.eval.NshExecutionContext context) - Specified by:
nextNonOptionin classnet.thevpc.nsh.cmd.NshBuiltinBase
-