Class JpsCommand
java.lang.Object
net.thevpc.nsh.cmd.NshBuiltinBase
net.thevpc.nsh.cmd.NshBuiltinDefault
net.thevpc.nsh.cmd.impl.posix.JpsCommand
- 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 voidmain(NCmdLine cmdLine, NshExecutionContext context) protected booleannextNonOption(NArg arg, NCmdLine cmdLine, NshExecutionContext context) protected booleannextOption(NArg arg, NCmdLine cmdLine, NshExecutionContext context) static StringresolveJavaToolCommand(NSession session, String javaHome, String javaCommand) static StringresolveJpsCommand(NSession session) Methods inherited from class net.thevpc.nsh.cmd.NshBuiltinBase
autoComplete, cmdLine, createOptions, exec, getHelp, getHelpHeader, getName, getScore, init, isEnabled, setEnabled, throwExecutionException, validate
-
Constructor Details
-
JpsCommand
public JpsCommand()
-
-
Method Details
-
resolveJpsCommand
-
resolveJavaToolCommand
-
nextOption
- Specified by:
nextOptionin classNshBuiltinBase
-
main
- Specified by:
mainin classNshBuiltinBase
-
nextNonOption
- Specified by:
nextNonOptionin classNshBuiltinBase
-