public enum TaskStateTransition extends Enum<TaskStateTransition>
Enum Constant and Description |
---|
CLAIMED |
COMPLETED |
DELEGATED |
RESOLVED |
UNCLAIMED |
Modifier and Type | Method and Description |
---|---|
static TaskStateTransition |
getTaskActionFromString(String action) |
static TaskStateTransition |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TaskStateTransition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TaskStateTransition COMPLETED
public static final TaskStateTransition CLAIMED
public static final TaskStateTransition UNCLAIMED
public static final TaskStateTransition DELEGATED
public static final TaskStateTransition RESOLVED
public static TaskStateTransition[] values()
for (TaskStateTransition c : TaskStateTransition.values()) System.out.println(c);
public static TaskStateTransition valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static TaskStateTransition getTaskActionFromString(String action)
TaskStateTransition
for the given stringInvalidArgumentException
- when no action exists for the given stringCopyright © 2005–2017 Alfresco Software. All rights reserved.