Class DateCommand
java.lang.Object
net.thevpc.nsh.cmd.NshBuiltinBase
net.thevpc.nsh.cmd.NshBuiltinDefault
net.thevpc.nsh.cmd.impl.posix.DateCommand
- All Implemented Interfaces:
NshBuiltin,NComponent,NScorable
Created by vpc on 1/7/17.
-
Field Summary
Fields inherited from interface net.thevpc.nuts.util.NScorable
CUSTOM_SCORE, DEFAULT_SCORE, UNSUPPORTED_SCORE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidinit(NCmdLine cmdLine, NshExecutionContext context) protected voidmain(NCmdLine cmdLine, NshExecutionContext context) protected booleannextNonOption(NArg arg, NCmdLine cmdLine, NshExecutionContext context) protected booleannextOption(NArg arg, NCmdLine cmdLine, NshExecutionContext context) Methods inherited from class net.thevpc.nsh.cmd.NshBuiltinBase
autoComplete, cmdLine, createOptions, exec, getHelp, getHelpHeader, getName, getScore, isEnabled, setEnabled, throwExecutionException, validate
-
Constructor Details
-
DateCommand
public DateCommand()
-
-
Method Details
-
nextOption
- Specified by:
nextOptionin classNshBuiltinBase
-
main
- Specified by:
mainin classNshBuiltinBase
-
init
- Overrides:
initin classNshBuiltinBase
-
nextNonOption
- Specified by:
nextNonOptionin classNshBuiltinBase
-