Enum TransitionEvent
- java.lang.Object
-
- java.lang.Enum<TransitionEvent>
-
- org.craftercms.studio.api.v1.service.objectstate.TransitionEvent
-
- All Implemented Interfaces:
Serializable
,Comparable<TransitionEvent>
public enum TransitionEvent extends Enum<TransitionEvent>
- Author:
- Dejan Brkic
-
-
Enum Constant Summary
-
Field Summary
Fields Modifier and Type Field Description static List<TransitionEvent>
cacheInvalidateEvents
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isCacheInvalidateNeeded(TransitionEvent event)
static TransitionEvent
valueOf(String name)
Returns the enum constant of this type with the specified name.static TransitionEvent[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DELETE
public static final TransitionEvent DELETE
-
EDIT
public static final TransitionEvent EDIT
-
SAVE
public static final TransitionEvent SAVE
-
CANCEL_EDIT
public static final TransitionEvent CANCEL_EDIT
-
SAVE_FOR_PREVIEW
public static final TransitionEvent SAVE_FOR_PREVIEW
-
REVERT
public static final TransitionEvent REVERT
-
UNLOCK
public static final TransitionEvent UNLOCK
-
CUT
public static final TransitionEvent CUT
-
PASTE
public static final TransitionEvent PASTE
-
DUPLICATE
public static final TransitionEvent DUPLICATE
-
SUBMIT_WITH_WORKFLOW_SCHEDULED
public static final TransitionEvent SUBMIT_WITH_WORKFLOW_SCHEDULED
-
SUBMIT_WITH_WORKFLOW_UNSCHEDULED
public static final TransitionEvent SUBMIT_WITH_WORKFLOW_UNSCHEDULED
-
SUBMIT_WITHOUT_WORKFLOW_SCHEDULED
public static final TransitionEvent SUBMIT_WITHOUT_WORKFLOW_SCHEDULED
-
SUBMIT_WITHOUT_WORKFLOW_UNSCHEDULED
public static final TransitionEvent SUBMIT_WITHOUT_WORKFLOW_UNSCHEDULED
-
APPROVE
public static final TransitionEvent APPROVE
-
REJECT
public static final TransitionEvent REJECT
-
DEPLOYMENT
public static final TransitionEvent DEPLOYMENT
-
DEPLOYMENT_FAILED
public static final TransitionEvent DEPLOYMENT_FAILED
-
-
Field Detail
-
cacheInvalidateEvents
public static List<TransitionEvent> cacheInvalidateEvents
-
-
Method Detail
-
values
public static TransitionEvent[] 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 (TransitionEvent c : TransitionEvent.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TransitionEvent 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
-
isCacheInvalidateNeeded
public static boolean isCacheInvalidateNeeded(TransitionEvent event)
-
-