@AlfrescoPublicApi public enum ActionStatus extends Enum<ActionStatus>
| Enum Constant and Description |
|---|
Cancelled
The Action, which must implement
CancellableAction, detected that a
cancellation was requested and cancelled itself. |
Completed
The Action was run without error
|
Declined
The Action failed with a transient exception.
|
Failed
The Action failed to run to completion.
|
New
A new Action, which has never been run
|
Pending
An Action which has been scheduled for
Asynchronous execution, but not yet run.
|
Running
Indicates that the Action is currently being
executed by the
ActionService |
| Modifier and Type | Method and Description |
|---|---|
static ActionStatus |
valueOf(Serializable s) |
static ActionStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ActionStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ActionStatus New
public static final ActionStatus Pending
public static final ActionStatus Running
ActionServicepublic static final ActionStatus Completed
public static final ActionStatus Cancelled
CancellableAction, detected that a
cancellation was requested and cancelled itself.public static final ActionStatus Failed
Action.getExecutionFailureMessage() to find
out why.public static final ActionStatus Declined
Action.getExecutionFailureMessage() to find
out why.public static ActionStatus[] values()
for (ActionStatus c : ActionStatus.values()) System.out.println(c);
public static ActionStatus 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 ActionStatus valueOf(Serializable s)
Copyright © 2005–2018 Alfresco Software. All rights reserved.