Enum WorkflowServiceImpl.Operation
- java.lang.Object
-
- java.lang.Enum<WorkflowServiceImpl.Operation>
-
- org.craftercms.studio.impl.v1.service.workflow.WorkflowServiceImpl.Operation
-
- All Implemented Interfaces:
Serializable
,Comparable<WorkflowServiceImpl.Operation>
- Enclosing class:
- WorkflowServiceImpl
protected static enum WorkflowServiceImpl.Operation extends Enum<WorkflowServiceImpl.Operation>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DELETE
GO_LIVE
REJECT
SUBMIT_TO_GO_LIVE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static WorkflowServiceImpl.Operation
valueOf(String name)
Returns the enum constant of this type with the specified name.static WorkflowServiceImpl.Operation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GO_LIVE
public static final WorkflowServiceImpl.Operation GO_LIVE
-
DELETE
public static final WorkflowServiceImpl.Operation DELETE
-
SUBMIT_TO_GO_LIVE
public static final WorkflowServiceImpl.Operation SUBMIT_TO_GO_LIVE
-
REJECT
public static final WorkflowServiceImpl.Operation REJECT
-
-
Method Detail
-
values
public static WorkflowServiceImpl.Operation[] 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 (WorkflowServiceImpl.Operation c : WorkflowServiceImpl.Operation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WorkflowServiceImpl.Operation 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
-
-