org.alfresco.service.cmr.action
Class ActionStatus

java.lang.Object
  extended by java.lang.Enum
      extended by org.alfresco.service.cmr.action.ActionStatus
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable

public final class ActionStatus
extends java.lang.Enum

The various states an Action can be in.

See Also:
Serialized Form

Field Summary
static ActionStatus Cancelled
          The Action, which must implement CancellableAction, detected that a cancellation was requested and cancelled itself.
static ActionStatus Completed
          The Action was run without error
static ActionStatus Failed
          The Action failed to run to completion.
static ActionStatus New
          A new Action, which has never been run
static ActionStatus Pending
          An Action which has been scheduled for Asynchronous execution, but not yet run.
static ActionStatus Running
          Indicates that the Action is currently being executed by the ActionService
 
Method Summary
static ActionStatus valueOf(java.io.Serializable s)
           
static ActionStatus valueOf(java.lang.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
 

Field 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#getExecutionFailureCause() to find out why.

Method Detail

values

public static ActionStatus[] values()

valueOf

public static ActionStatus valueOf(java.lang.String name)

valueOf

public static ActionStatus valueOf(java.io.Serializable s)


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.