Enum NodeStepFailureReason
- java.lang.Object
-
- java.lang.Enum<NodeStepFailureReason>
-
- com.dtolabs.rundeck.core.execution.workflow.steps.node.NodeStepFailureReason
-
- All Implemented Interfaces:
FailureReason
,java.io.Serializable
,java.lang.Comparable<NodeStepFailureReason>
public enum NodeStepFailureReason extends java.lang.Enum<NodeStepFailureReason> implements FailureReason
Failure reasons for node steps
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AuthenticationFailure
Authentication unsuccessfulConnectionFailure
Connection unsuccessfulConnectionTimeout
Timeout on connectionHostNotFound
Host name could not be resolvedNonZeroResultCode
Command or script execution result code was not zero
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NodeStepFailureReason
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static NodeStepFailureReason[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HostNotFound
public static final NodeStepFailureReason HostNotFound
Host name could not be resolved
-
ConnectionTimeout
public static final NodeStepFailureReason ConnectionTimeout
Timeout on connection
-
ConnectionFailure
public static final NodeStepFailureReason ConnectionFailure
Connection unsuccessful
-
AuthenticationFailure
public static final NodeStepFailureReason AuthenticationFailure
Authentication unsuccessful
-
NonZeroResultCode
public static final NodeStepFailureReason NonZeroResultCode
Command or script execution result code was not zero
-
-
Method Detail
-
values
public static NodeStepFailureReason[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (NodeStepFailureReason c : NodeStepFailureReason.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NodeStepFailureReason valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-