Package com.oracle.bmc.datacatalog.model
Enum JobExecutionState
- java.lang.Object
-
- java.lang.Enum<JobExecutionState>
-
- com.oracle.bmc.datacatalog.model.JobExecutionState
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<JobExecutionState>
@Generated(value="OracleSDKGenerator", comments="API Version: 20190325") public enum JobExecutionState extends Enum<JobExecutionState> implements BmcEnum
Common execution states for jobs in data catalog.CREATED - Job has been created but yet to start execution. It will transition to IN_PROGRESS when resources are available for execution. IN_PROGRESS - Job is currently executing. INACTIVE - Job has been paused by the worker. This could be due to resource contention or window management. FAILED - Job has failed due to errors during execution. SUCCEEDED - Job has successfully completed execution. CANCELED - Job has been aborted by the worker due to a user request. SUCCEEDED_WITH_WARNINGS - Job has successfully completed execution with one or more warnings.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Canceled
Created
Failed
Inactive
InProgress
Succeeded
SucceededWithWarnings
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 Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JobExecutionState
create(String key)
String
getValue()
static JobExecutionState
valueOf(String name)
Returns the enum constant of this type with the specified name.static JobExecutionState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Created
public static final JobExecutionState Created
-
InProgress
public static final JobExecutionState InProgress
-
Inactive
public static final JobExecutionState Inactive
-
Failed
public static final JobExecutionState Failed
-
Succeeded
public static final JobExecutionState Succeeded
-
Canceled
public static final JobExecutionState Canceled
-
SucceededWithWarnings
public static final JobExecutionState SucceededWithWarnings
-
UnknownEnumValue
public static final JobExecutionState 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 JobExecutionState[] 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 (JobExecutionState c : JobExecutionState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JobExecutionState 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 JobExecutionState create(String key)
-
-