Package org.jppf.admin.web.topology
Enum Class StopRestartNodeLink.ActionType
java.lang.Object
java.lang.Enum<StopRestartNodeLink.ActionType>
org.jppf.admin.web.topology.StopRestartNodeLink.ActionType
- All Implemented Interfaces:
Serializable,Comparable<StopRestartNodeLink.ActionType>,Constable
- Enclosing class:
- StopRestartNodeLink
The type of stop/restart and immediate/differed node action.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionReconnect.Reconnect.Restart.Deferred restart.Stop.Deferred stop. -
Method Summary
Modifier and TypeMethodDescriptiongetId()getModel()booleanbooleanReturns the enum constant of this class with the specified name.static StopRestartNodeLink.ActionType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STOP
Stop. -
RESTART
Restart. -
STOP_DEFERRED
Deferred stop. -
RESTART_DEFERRED
Deferred restart. -
RECONNECT
Reconnect. -
RECONNECT_DEFERRED
Reconnect.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getId
- Returns:
- the action id.
-
getModel
- Returns:
- the action model string.
-
getImageName
- Returns:
- the name of the associated icon.
-
isRestart
public boolean isRestart()- Returns:
- whether the action is a restart action.
-
isDeferred
public boolean isDeferred()- Returns:
- deferred whether the action is deferred.
-