public class ExecutionDetails extends Object implements Serializable
ActionTrackingService on a currently
executing Action.| Constructor and Description |
|---|
ExecutionDetails() |
ExecutionDetails(ExecutionSummary executionSummary,
org.alfresco.service.cmr.repository.NodeRef persistedActionRef,
org.alfresco.service.cmr.repository.NodeRef actionedUponNodeRef,
String runningOn,
Date startedAt,
boolean cancelRequested) |
ExecutionDetails(ExecutionSummary executionSummary,
org.alfresco.service.cmr.repository.NodeRef persistedActionRef,
String runningOn,
Date startedAt,
boolean cancelRequested) |
| Modifier and Type | Method and Description |
|---|---|
org.alfresco.service.cmr.repository.NodeRef |
getActionedUponNodeRef()
Gets the
NodeRef the action is acting on. |
String |
getActionId()
What is the id of the action?
|
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.
|
ExecutionSummary |
getExecutionSummary() |
org.alfresco.service.cmr.repository.NodeRef |
getPersistedActionRef()
Gets the
NodeRef where the action is persisted. |
String |
getRunningOn() |
Date |
getStartedAt()
Returns when this action started executing, or
null if it is still pending
|
boolean |
isCancelRequested() |
void |
setExecutionSummary(ExecutionSummary executionSummary) |
public ExecutionDetails()
public ExecutionDetails(ExecutionSummary executionSummary, org.alfresco.service.cmr.repository.NodeRef persistedActionRef, String runningOn, Date startedAt, boolean cancelRequested)
public ExecutionDetails(ExecutionSummary executionSummary, org.alfresco.service.cmr.repository.NodeRef persistedActionRef, org.alfresco.service.cmr.repository.NodeRef actionedUponNodeRef, String runningOn, Date startedAt, boolean cancelRequested)
public ExecutionSummary getExecutionSummary()
public void setExecutionSummary(ExecutionSummary executionSummary)
public String getActionType()
public String getActionId()
public int getExecutionInstance()
public org.alfresco.service.cmr.repository.NodeRef getPersistedActionRef()
NodeRef where the action is persisted.NodeRef for the persisted actionpublic org.alfresco.service.cmr.repository.NodeRef getActionedUponNodeRef()
NodeRef the action is acting on.NodeRef the action is acting onpublic String getRunningOn()
public Date getStartedAt()
public boolean isCancelRequested()
Copyright © 2005–2018 Alfresco Software. All rights reserved.