Overview  Package   Class  Use  Tree  Deprecated  Index  Help 
PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    All Classes
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD DETAIL: ENUM CONSTANTS | FIELD | METHOD

org.alfresco.service.cmr.action
Enum ActionStatus
java.lang.Object
  java.lang.Enum<ActionStatus>
      org.alfresco.service.cmr.action.ActionStatus
All Implemented Interfaces:
Comparable<ActionStatus>, Serializable

public enum ActionStatus
extends Enum<ActionStatus>
The various states an Action can be in.
Author:
Nick Burch

Enum Constant Summary
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
Method Summary
static ActionStatus
valueOf(Serializable s)
static ActionStatus
valueOf(String name)
static ActionStatus[]
values()
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
Enum Constant Detail
New
public static final ActionStatus New
A new Action, which has never been run

Pending
public static final ActionStatus Pending
An Action which has been scheduled for Asynchronous execution, but not yet run.

Running
public static final ActionStatus Running
Indicates that the Action is currently being executed by the ActionService

Completed
public static final ActionStatus Completed
The Action was run without error

Cancelled
public static final ActionStatus Cancelled
The Action, which must implement CancellableAction, detected that a cancellation was requested and cancelled itself.

Failed
public static final ActionStatus Failed
The Action failed to run to completion. Call Action.getExecutionFailureMessage() to find out why.

Declined
public static final ActionStatus Declined
The Action failed with a transient exception. Call Action.getExecutionFailureMessage() to find out why.
Since:
4.0.1
Method Detail
values
public static ActionStatus[] values()

valueOf
public static ActionStatus valueOf(String name)

valueOf
public static ActionStatus valueOf(Serializable s)

Overview  Package   Class  Use  Tree  Deprecated  Index  Help 
PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    All Classes
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD DETAIL: ENUM CONSTANTS | FIELD | METHOD

Copyright © 2005–2016 Alfresco Software. All rights reserved.

Java API documentation generated with DocFlex/Javadoc 1.6.1 using JavadocPro template set.