Package org.jppf.process
Class ProcessCommands
java.lang.Object
org.jppf.process.ProcessCommands
This class holds the constant for actions handled by a
LauncherListenerProtocolHandler.- Since:
- 5.0
- Author:
- Laurent Cohen
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intRequest a restart withinterruptIfRunning = true.static final intRequest a restart withinterruptIfRunning = false.static final intRequest a shutdown withinterruptIfRunning = true.static final intRequest a shutdown withinterruptIfRunning = false. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetCommandName(int command) Get the name associated with a command code.
-
Field Details
-
RESTART_INTERRUPT
public static final int RESTART_INTERRUPTRequest a restart withinterruptIfRunning = true.- See Also:
-
RESTART_NO_INTERRUPT
public static final int RESTART_NO_INTERRUPTRequest a restart withinterruptIfRunning = false.- See Also:
-
SHUTDOWN_INTERRUPT
public static final int SHUTDOWN_INTERRUPTRequest a shutdown withinterruptIfRunning = true.- See Also:
-
SHUTDOWN_NO_INTERRUPT
public static final int SHUTDOWN_NO_INTERRUPTRequest a shutdown withinterruptIfRunning = false.- See Also:
-
-
Method Details
-
getCommandName
Get the name associated with a command code.- Parameters:
command- the command code to lookup.- Returns:
- a related name.
-