public class ExecutionHistoryEntry
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
ExecutionHistoryEntry(LogEntry entry)
Creates a new execution history entry based on the designated log entry.
|
ExecutionHistoryEntry(long id,
long timestamp,
java.util.UUID instanceLogID,
java.lang.Integer nodeID,
java.lang.Integer nodeIteration,
ExecutionHistory.StateChange stateChange,
java.lang.Long agentID,
java.lang.Long agentOrgPosID,
java.lang.Long clientDelay,
java.lang.String arbitraryString,
java.lang.String templateName,
java.lang.String instanceName,
java.lang.String nodeName,
java.lang.Boolean supportViewOnly,
java.lang.Long errorCode,
java.lang.String errorState,
java.lang.String errorMessage,
java.net.URI[] executionManagerURIs)
Constructs a new
ExecutionHistoryEntry. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Long |
getAgentID()
Returns the ID of the agent where applicable.
|
java.lang.Long |
getAgentOrgPosID()
Returns the org position ID of the agent where applicable.
|
java.lang.String |
getArbitraryString()
Gets the arbitrary string used for additional information to the entry
usually depending on the state change (if applicable).
|
java.lang.Long |
getClientDelay()
Gets the delay that occurred on client side, e. g. due to the server being
unavailable (if applicable).
|
java.lang.Long |
getErrorCode()
Returns the error code where applicable.
|
java.lang.String |
getErrorMessage()
Returns the error message where applicable.
|
java.lang.String |
getErrorState()
Returns the error state where applicable.
|
java.net.URI[] |
getExecutionManagerURIs()
Returns the execution manager URIs where applicable.
|
long |
getId()
Returns the ID of the execution history entry.
|
java.util.UUID |
getInstanceLogID()
Returns the log ID of the process instance.
|
java.lang.String |
getInstanceName()
Returns the process instance name where applicable.
|
java.lang.Integer |
getNodeID()
Returns the node ID where applicable.
|
java.lang.Integer |
getNodeIteration()
Returns the node iteration where applicable.
|
java.lang.String |
getNodeName()
Returns the node name where applicable.
|
ExecutionHistory.StateChange |
getStateChange()
Returns the state change.
|
java.lang.Boolean |
getSupportViewOnly()
Returns whether the step supports view-only where applicable.
|
java.lang.String |
getTemplateName()
Returns the process template name where applicable.
|
long |
getTimestamp()
Returns the timestamp of the state change.
|
public ExecutionHistoryEntry(long id,
long timestamp,
java.util.UUID instanceLogID,
java.lang.Integer nodeID,
java.lang.Integer nodeIteration,
ExecutionHistory.StateChange stateChange,
java.lang.Long agentID,
java.lang.Long agentOrgPosID,
java.lang.Long clientDelay,
java.lang.String arbitraryString,
java.lang.String templateName,
java.lang.String instanceName,
java.lang.String nodeName,
java.lang.Boolean supportViewOnly,
java.lang.Long errorCode,
java.lang.String errorState,
java.lang.String errorMessage,
java.net.URI[] executionManagerURIs)
ExecutionHistoryEntry.id - ID of the execution history entrytimestamp - timestamp of the state changeinstanceLogID - log ID of the instancenodeID - node ID (if applicable)nodeIteration - node iteration (if applicable)stateChange - state changeagentID - ID of the agent (if applicable)agentOrgPosID - org position ID of the agent (if applicable)clientDelay - The delay that occurred on client side, e. g. due to the
server being unavailable (if applicable).arbitraryString - An arbitrary string used for additional information
to the entry usually depending on the state change (if
applicable).templateName - name of the process templateinstanceName - name of the process instancenodeName - name of the nodesupportViewOnly - whether the step supports view-only (if applicable)errorCode - error code (if applicable)errorState - error state (if applicable)errorMessage - error message (if applicable)executionManagerURIs - execution manager URIs (if applicable)public ExecutionHistoryEntry(LogEntry entry) throws java.net.URISyntaxException
entry - The log entry from which to parse an execution 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()
public long getTimestamp()
public java.util.UUID getInstanceLogID()
public java.lang.Integer getNodeID()
null otherwisepublic java.lang.Integer getNodeIteration()
null otherwisepublic ExecutionHistory.StateChange getStateChange()
public java.lang.Long getAgentID()
null otherwisepublic java.lang.Long getAgentOrgPosID()
null
otherwisepublic java.lang.Long getClientDelay()
null.public java.lang.String getArbitraryString()
null.public java.lang.String getTemplateName()
null otherwisepublic java.lang.String getInstanceName()
null otherwisepublic java.lang.String getNodeName()
null otherwisepublic java.lang.Boolean getSupportViewOnly()
null
otherwisepublic java.lang.Long getErrorCode()
null otherwisepublic java.lang.String getErrorState()
null otherwisepublic java.lang.String getErrorMessage()
null otherwisepublic java.net.URI[] getExecutionManagerURIs()
null otherwise