Enum OutcomeType
- java.lang.Object
-
- java.lang.Enum<OutcomeType>
-
- com.identityworksllc.iiq.common.vo.OutcomeType
-
- All Implemented Interfaces:
Serializable
,Comparable<OutcomeType>
public enum OutcomeType extends Enum<OutcomeType>
The various outcome types that an operation can have
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OutcomeType
valueOf(String name)
Returns the enum constant of this type with the specified name.static OutcomeType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Pending
public static final OutcomeType Pending
-
Running
public static final OutcomeType Running
-
Success
public static final OutcomeType Success
-
Failure
public static final OutcomeType Failure
-
Warning
public static final OutcomeType Warning
-
Terminated
public static final OutcomeType Terminated
-
Skipped
public static final OutcomeType Skipped
-
Multiple
public static final OutcomeType Multiple
-
-
Method Detail
-
values
public static OutcomeType[] 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 (OutcomeType c : OutcomeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OutcomeType valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-