Enum JobStatus
- java.lang.Object
-
- java.lang.Enum<JobStatus>
-
- com.oracle.bmc.fleetappsmanagement.model.JobStatus
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<JobStatus>
@Generated(value="OracleSDKGenerator", comments="API Version: 20230831") public enum JobStatus extends Enum<JobStatus> implements BmcEnum
Possible Job status.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Aborted
Accepted
Canceled
Failed
Ignored
InProgress
NotApplicable
Paused
Skipped
Succeeded
TimedOut
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.Waiting
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JobStatus
create(String key)
String
getValue()
static JobStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static JobStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Accepted
public static final JobStatus Accepted
-
Waiting
public static final JobStatus Waiting
-
InProgress
public static final JobStatus InProgress
-
Failed
public static final JobStatus Failed
-
Succeeded
public static final JobStatus Succeeded
-
Canceled
public static final JobStatus Canceled
-
Skipped
public static final JobStatus Skipped
-
Ignored
public static final JobStatus Ignored
-
NotApplicable
public static final JobStatus NotApplicable
-
Aborted
public static final JobStatus Aborted
-
TimedOut
public static final JobStatus TimedOut
-
Paused
public static final JobStatus Paused
-
UnknownEnumValue
public static final JobStatus UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
-
-
Method Detail
-
values
public static JobStatus[] 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 (JobStatus c : JobStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JobStatus 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
-
-