public class AgentProcessActionResult extends ProcessAction.ProcessActionResult implements AgentResult
result, stderr, stdout
Modifier and Type | Method and Description |
---|---|
java.util.Date |
getBeginning()
Returns the timestamp at which this process began executing.
|
java.lang.String |
getCommand()
Returns the command line for the process.
|
long |
getElapsedTime()
Returns the number of milliseconds that this process executed.
|
java.util.Date |
getEnding()
Returns the timestamp at which this process began executing.
|
java.lang.String |
getEngineName()
Returns the name of the engine which assigned this process to the agent.
|
ErrorResultElement |
getError()
If this agent action ended with an error, returns the error that occurred when
the execution of an Action was attempted.
|
java.lang.String |
getFlowChartName()
Returns the name of the flow chart which assigned this process to the
agent.
|
AgentProcessCompletionState |
getProcessCompletionState()
Indicates how this process terminated: normally, with an error that occurred
when the execution of the process was attempted, after timing out but still
running to completion, after being destroyed due to a timeout, after being
destroyed when a signal was received, or after being destroyed due to the
process being interrupted.
|
java.lang.Integer |
getResult()
If this process ran to completion, returns the process's exit code, as
returned by the operating system.
|
java.lang.String |
getResultStderr()
If this process ran to completion, returns the standard error (stderr) from
the completed process.
|
java.lang.String |
getResultStdout()
If this process ran to completion, returns the standard output (stdout)
from the completed process.
|
clone, toString
public java.util.Date getBeginning()
AgentResult
getBeginning
in interface AgentResult
public java.lang.String getCommand()
public java.lang.Integer getResult()
AgentProcessCompletionState.NORMAL
,
AgentProcessCompletionState.TIMEOUT
public java.lang.String getResultStderr()
AgentProcessCompletionState.NORMAL
,
AgentProcessCompletionState.TIMEOUT
public java.lang.String getResultStdout()
AgentProcessCompletionState.NORMAL
,
AgentProcessCompletionState.TIMEOUT
public long getElapsedTime()
AgentResult
getElapsedTime
in interface AgentResult
AgentProcessCompletionState.NORMAL
,
AgentProcessCompletionState.TIMEOUT
public java.util.Date getEnding()
AgentResult
getEnding
in interface AgentResult
AgentProcessCompletionState.NORMAL
,
AgentProcessCompletionState.TIMEOUT
public java.lang.String getEngineName()
AgentResult
getEngineName
in interface AgentResult
public ErrorResultElement getError()
AgentResult
getError
in interface AgentResult
AgentProcessCompletionState.ERROR
public java.lang.String getFlowChartName()
AgentResult
getFlowChartName
in interface AgentResult
public AgentProcessCompletionState getProcessCompletionState()
AgentResult
getProcessCompletionState
in interface AgentResult
© 2000-2025 Flux Corporation. All rights reserved.