Package org.pentaho.platform.workitem
Enum WorkItemLifecyclePhase
- java.lang.Object
-
- java.lang.Enum<WorkItemLifecyclePhase>
-
- org.pentaho.platform.workitem.WorkItemLifecyclePhase
-
- All Implemented Interfaces:
Serializable
,Comparable<WorkItemLifecyclePhase>
,org.pentaho.platform.api.workitem.IWorkItemLifecyclePhase
public enum WorkItemLifecyclePhase extends Enum<WorkItemLifecyclePhase> implements org.pentaho.platform.api.workitem.IWorkItemLifecyclePhase
An enumeration of the known lifecycle events for the work item.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPLETED
The work item execution is in progressCOMPLETED_WITH_ERRORS
The work item execution is in progressDISPATCHED
The work item has been dispatched to the component responsible for its executionFAILED
The work item execution has failedIN_PROGRESS
The work item execution is in progressRECEIVED
The work item has been received by the component responsible for its executionREJECTED
The work item execution has been rejectedRESTARTED
The work item execution has been restartedSUBMITTED
The work item has been submitted for executionSUCCEEDED
The work item execution has succeeded
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static WorkItemLifecyclePhase
valueOf(String name)
Returns the enum constant of this type with the specified name.static WorkItemLifecyclePhase[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SUBMITTED
public static final WorkItemLifecyclePhase SUBMITTED
The work item has been submitted for execution
-
DISPATCHED
public static final WorkItemLifecyclePhase DISPATCHED
The work item has been dispatched to the component responsible for its execution
-
RECEIVED
public static final WorkItemLifecyclePhase RECEIVED
The work item has been received by the component responsible for its execution
-
REJECTED
public static final WorkItemLifecyclePhase REJECTED
The work item execution has been rejected
-
IN_PROGRESS
public static final WorkItemLifecyclePhase IN_PROGRESS
The work item execution is in progress
-
COMPLETED
public static final WorkItemLifecyclePhase COMPLETED
The work item execution is in progress
-
COMPLETED_WITH_ERRORS
public static final WorkItemLifecyclePhase COMPLETED_WITH_ERRORS
The work item execution is in progress
-
SUCCEEDED
public static final WorkItemLifecyclePhase SUCCEEDED
The work item execution has succeeded
-
FAILED
public static final WorkItemLifecyclePhase FAILED
The work item execution has failed
-
RESTARTED
public static final WorkItemLifecyclePhase RESTARTED
The work item execution has been restarted
-
-
Method Detail
-
values
public static WorkItemLifecyclePhase[] 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 (WorkItemLifecyclePhase c : WorkItemLifecyclePhase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WorkItemLifecyclePhase 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
-
-