public class HistoryWorkflowBase extends WorkflowBase
displayName| Constructor and Description |
|---|
HistoryWorkflowBase(String processId,
String name,
String provider,
String user,
Date startTime,
Date endTime)
Initializes an instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
Long |
getDuration()
duration of the process instance in milliseconds or null if the process
instance has not yet ended
|
Date |
getEndTime()
Returns the time when the process instance ended (only not null if the
process instance already ended).
|
String |
getProcessId()
Returns an ID of the corresponding workflow process instance.
|
Date |
getStartTime()
Returns the time when the process instance was started.
|
String |
getUser() |
boolean |
isCompleted() |
void |
setEndTime(Date endTime)
Sets the end time for the workflow process instance.
|
getDisplayName, getName, getProvider, setDisplayName, toStringpublic HistoryWorkflowBase(String processId, String name, String provider, String user, Date startTime, Date endTime)
processId - the ID of the corresponding workflow process instancename - the name of the itemprovider - the provider keyuser - startTime - the start point of the process instanceendTime - the end point of the process instance or nullpublic Long getDuration()
public Date getEndTime()
public Date getStartTime()
public boolean isCompleted()
public String getUser()
public String getProcessId()
public void setEndTime(Date endTime)
endTime - the endTime to setCopyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.