Class ExecutionDetails

java.lang.Object
org.alfresco.service.cmr.action.ExecutionDetails
All Implemented Interfaces:
Serializable

public class ExecutionDetails extends Object implements Serializable
Holds all the details available to the ActionTrackingService on a currently executing Action.
Author:
Nick Burch
See Also:
  • Constructor Details

    • ExecutionDetails

      public ExecutionDetails()
    • ExecutionDetails

      public ExecutionDetails(ExecutionSummary executionSummary, NodeRef persistedActionRef, String runningOn, Date startedAt, boolean cancelRequested)
    • ExecutionDetails

      public ExecutionDetails(ExecutionSummary executionSummary, NodeRef persistedActionRef, NodeRef actionedUponNodeRef, String runningOn, Date startedAt, boolean cancelRequested)
  • Method Details

    • getExecutionSummary

      public ExecutionSummary getExecutionSummary()
    • setExecutionSummary

      public void setExecutionSummary(ExecutionSummary executionSummary)
    • getActionType

      public String getActionType()
      What kind of action is this?
      Returns:
      The action type, typically an executor bean name
    • getActionId

      public String getActionId()
      What is the id of the action?
      Returns:
      The action ID
    • getExecutionInstance

      public int getExecutionInstance()
      Which instance of the action is this? Every time you start an action, it gets a new instance ID, and this lets you tell the difference between two copies running in parallel.
      Returns:
      The instance ID
    • getPersistedActionRef

      public NodeRef getPersistedActionRef()
      Gets the NodeRef where the action is persisted.
      Returns:
      NodeRef for the persisted action
    • getActionedUponNodeRef

      public NodeRef getActionedUponNodeRef()
      Gets the NodeRef the action is acting on.
      Returns:
      NodeRef the action is acting on
    • getRunningOn

      public String getRunningOn()
    • getStartedAt

      public Date getStartedAt()
      Returns when this action started executing, or null if it is still pending
    • isCancelRequested

      public boolean isCancelRequested()