Enum Class RemoteExecutionStatus
- All Implemented Interfaces:
Serializable, Comparable<RemoteExecutionStatus>, Constable
Terminal outcome of an SBK command submitted to one remote host.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe command was cancelled because another node failed.The remote command completed with a non-zero exit code.No terminal result was obtained for the configured host.The SSH transport failed before a usable exit code was received.The remote command completed with exit code zero.The remote command exceeded its execution deadline. -
Method Summary
Modifier and TypeMethodDescriptionstatic RemoteExecutionStatusReturns the enum constant of this class with the specified name.static RemoteExecutionStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SUCCESS
The remote command completed with exit code zero. -
EXIT_FAILURE
The remote command completed with a non-zero exit code. -
SSH_ERROR
The SSH transport failed before a usable exit code was received. -
TIMEOUT
The remote command exceeded its execution deadline. -
CANCELLED
The command was cancelled because another node failed. -
NOT_COMPLETED
No terminal result was obtained for the configured host.
-
-
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
-