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, toStringpublic java.util.Date getBeginning()
AgentResultgetBeginning in interface AgentResultpublic java.lang.String getCommand()
public java.lang.Integer getResult()
AgentProcessCompletionState.NORMAL,
AgentProcessCompletionState.TIMEOUTpublic java.lang.String getResultStderr()
AgentProcessCompletionState.NORMAL,
AgentProcessCompletionState.TIMEOUTpublic java.lang.String getResultStdout()
AgentProcessCompletionState.NORMAL,
AgentProcessCompletionState.TIMEOUTpublic long getElapsedTime()
AgentResultgetElapsedTime in interface AgentResultAgentProcessCompletionState.NORMAL,
AgentProcessCompletionState.TIMEOUTpublic java.util.Date getEnding()
AgentResultgetEnding in interface AgentResultAgentProcessCompletionState.NORMAL,
AgentProcessCompletionState.TIMEOUTpublic java.lang.String getEngineName()
AgentResultgetEngineName in interface AgentResultpublic ErrorResultElement getError()
AgentResultgetError in interface AgentResultAgentProcessCompletionState.ERRORpublic java.lang.String getFlowChartName()
AgentResultgetFlowChartName in interface AgentResultpublic AgentProcessCompletionState getProcessCompletionState()
AgentResultgetProcessCompletionState in interface AgentResult© 2000-2025 Flux Corporation. All rights reserved.