@Generated(value="OracleSDKGenerator", comments="API Version: 20190331") public enum WorkRequestStatus extends Enum<WorkRequestStatus> implements BmcEnum
The status of a work request.
Enum Constant and Description |
---|
Accepted |
Canceled |
Canceling |
Failed |
InProgress |
Succeeded |
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this
version of the SDK.
|
Modifier and Type | Method and Description |
---|---|
static WorkRequestStatus |
create(String key) |
String |
getValue() |
static WorkRequestStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WorkRequestStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WorkRequestStatus Accepted
public static final WorkRequestStatus InProgress
public static final WorkRequestStatus Failed
public static final WorkRequestStatus Succeeded
public static final WorkRequestStatus Canceling
public static final WorkRequestStatus Canceled
public static final WorkRequestStatus UnknownEnumValue
public static WorkRequestStatus[] values()
for (WorkRequestStatus c : WorkRequestStatus.values()) System.out.println(c);
public static WorkRequestStatus valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static WorkRequestStatus create(String key)
Copyright © 2016–2024. All rights reserved.