public class WorkHistoryEntry
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
WorkHistoryEntry(LogEntry entry)
Creates a new work history entry based on the designated log entry.
|
WorkHistoryEntry(long id,
java.util.UUID instanceLogID,
int nodeID,
int nodeIteration,
long activationTime,
long completionTime,
long agentID,
long agentOrgPosID,
java.lang.String templateName,
java.lang.String instanceName,
java.lang.String nodeName,
boolean supportViewOnly,
java.net.URI[] executionManagerURIs)
Constructs a new
AgentWorkHistoryEntry. |
| Modifier and Type | Method and Description |
|---|---|
long |
getActivationTime()
Returns the timestamp of when the step was activated for the first time.
|
long |
getAgentID()
Returns the ID of the agent who completed the step.
|
long |
getAgentOrgPosID()
Returns the org position ID of the agent who completed the step.
|
long |
getCompletionTime()
Returns the timestamp of when the step was completed.
|
java.net.URI[] |
getExecutionManagerURIs()
Returns the execution manager URIs.
|
long |
getId()
Returns the ID of the execution history entry that recorded this step as
completed.
|
java.util.UUID |
getInstanceLogID()
Returns the log ID of the process instance.
|
java.lang.String |
getInstanceName()
Returns the process instance name.
|
int |
getNodeID()
Returns the node ID of the completed step.
|
int |
getNodeIteration()
Returns the node iteration of the completed step.
|
java.lang.String |
getNodeName()
Returns the node name.
|
java.lang.Boolean |
getSupportViewOnly()
Returns whether the step supports view-only.
|
java.lang.String |
getTemplateName()
Returns the process template name.
|
public WorkHistoryEntry(long id,
java.util.UUID instanceLogID,
int nodeID,
int nodeIteration,
long activationTime,
long completionTime,
long agentID,
long agentOrgPosID,
java.lang.String templateName,
java.lang.String instanceName,
java.lang.String nodeName,
boolean supportViewOnly,
java.net.URI[] executionManagerURIs)
AgentWorkHistoryEntry.id - instanceLogID - nodeID - nodeIteration - activationTime - completionTime - agentID - agentOrgPosID - templateName - instanceName - nodeName - supportViewOnly - executionManagerURIs - public WorkHistoryEntry(LogEntry entry) throws java.net.URISyntaxException
entry - The log entry from which to parse a work history entry. Make sure that it has the
required attributes/columns!java.net.URISyntaxException - If the execution manager URIs have a wrong representation, a
URISyntaxException will be thrown.public long getId()
ExecutionHistory.StateChange.NODE_FINISHEDpublic java.util.UUID getInstanceLogID()
public int getNodeID()
public int getNodeIteration()
public long getActivationTime()
public long getCompletionTime()
public long getAgentID()
public long getAgentOrgPosID()
public java.lang.String getTemplateName()
public java.lang.String getInstanceName()
public java.lang.String getNodeName()
public java.lang.Boolean getSupportViewOnly()
public java.net.URI[] getExecutionManagerURIs()