org.alfresco.service.cmr.action
Class ExecutionSummary

java.lang.Object
  extended by org.alfresco.service.cmr.action.ExecutionSummary

public class ExecutionSummary
extends java.lang.Object

Holds core key details of an Action that is currently executing. This information is normally the limit of what the ActionTrackingService can use when filtering lists of actions.


Constructor Summary
ExecutionSummary(java.lang.String actionType, java.lang.String actionId, int executionInstance)
           
 
Method Summary
 java.lang.String getActionId()
          What is the id of the action?
 java.lang.String getActionType()
          What kind of action is this?
 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.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExecutionSummary

public ExecutionSummary(java.lang.String actionType,
                        java.lang.String actionId,
                        int executionInstance)
Method Detail

getActionType

public java.lang.String getActionType()
What kind of action is this?

Returns:
The action type, typically an executor bean name

getActionId

public java.lang.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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


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