public class HistoryWorkflow extends HistoryWorkflowBase
displayName| Constructor and Description |
|---|
HistoryWorkflow(String id,
WorkflowDefinition workflowDefinition,
String name,
String provider,
String user,
Date startTime,
Date endTime,
String endActivityName,
String nodeId)
Initializes an instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getEndActivityName()
Returns the name of the end state that was reached when the process was
ended.
|
String |
getNodeId() |
WorkflowDefinition |
getWorkflowDefinition() |
void |
setNodeId(String nodeId) |
void |
setWorkflowDefinition(WorkflowDefinition workflowDefinition) |
getDuration, getEndTime, getProcessId, getStartTime, getUser, isCompleted, setEndTimegetDisplayName, getName, getProvider, setDisplayName, toStringpublic HistoryWorkflow(String id, WorkflowDefinition workflowDefinition, String name, String provider, String user, Date startTime, Date endTime, String endActivityName, String nodeId)
id - workflow process instance IDworkflowDefinition - process definition keyname - the name of the itemprovider - the provider keystartTime - the start point of the process instanceendTime - the end point of the process instance or null
if it is not completed yetendActivityName - the name of the last activitypublic String getEndActivityName()
public WorkflowDefinition getWorkflowDefinition()
public void setWorkflowDefinition(WorkflowDefinition workflowDefinition)
public String getNodeId()
public void setNodeId(String nodeId)
Copyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.