Enum WorkDeliveryStatus
- java.lang.Object
-
- java.lang.Enum<WorkDeliveryStatus>
-
- com.oracle.bmc.managementagent.model.WorkDeliveryStatus
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<WorkDeliveryStatus>
@Generated(value="OracleSDKGenerator", comments="API Version: 20200202") public enum WorkDeliveryStatus extends Enum<WorkDeliveryStatus> implements BmcEnum
Possible Work Delivery states.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WorkDeliveryStatus
create(String key)
String
getValue()
static WorkDeliveryStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static WorkDeliveryStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Accepted
public static final WorkDeliveryStatus Accepted
-
InProgress
public static final WorkDeliveryStatus InProgress
-
Failed
public static final WorkDeliveryStatus Failed
-
Succeeded
public static final WorkDeliveryStatus Succeeded
-
Canceling
public static final WorkDeliveryStatus Canceling
-
Canceled
public static final WorkDeliveryStatus Canceled
-
-
Method Detail
-
values
public static WorkDeliveryStatus[] 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 (WorkDeliveryStatus c : WorkDeliveryStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WorkDeliveryStatus 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
-
create
public static WorkDeliveryStatus create(String key)
-
-