org.apache.servicemix.exec.marshaler
Class ExecResponse

java.lang.Object
  extended by org.apache.servicemix.exec.marshaler.ExecResponse

public class ExecResponse
extends java.lang.Object

Container for execution result data.

Author:
jbonofre

Constructor Summary
ExecResponse()
           Default constructor.
 
Method Summary
 long getEndTime()
           
 java.lang.StringBuffer getErrorData()
           
 long getExecutionDuration()
           
 int getExitCode()
           
 java.lang.StringBuffer getOutputData()
           
 long getStartTime()
           
 void setEndTime(long endTime)
           This attribute defines the system command execution end time (timestamp).
 void setErrorData(java.lang.StringBuffer errorData)
           This attribute defines the system command execution error buffer.
 void setExecutionDuration(long executionDuration)
           This attribute defines the system command execution duration.
 void setExitCode(int exitCode)
           This attribute defines the system command execution exit code.
 void setOutputData(java.lang.StringBuffer outputData)
           This attribute defines the system command execution output buffer.
 void setStartTime(long startTime)
           This attribute defines the system command execution start time (timestamp).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExecResponse

public ExecResponse()

Default constructor.

Method Detail

getExitCode

public int getExitCode()

setExitCode

public void setExitCode(int exitCode)

This attribute defines the system command execution exit code.

Parameters:
exitCode - the system command execution exit code.

getStartTime

public long getStartTime()

setStartTime

public void setStartTime(long startTime)

This attribute defines the system command execution start time (timestamp).

Parameters:
startTime - the system command execution start time.

getEndTime

public long getEndTime()

setEndTime

public void setEndTime(long endTime)

This attribute defines the system command execution end time (timestamp).

Parameters:
endTime - the system command execution end time.

getExecutionDuration

public long getExecutionDuration()

setExecutionDuration

public void setExecutionDuration(long executionDuration)

This attribute defines the system command execution duration.

Parameters:
executionDuration - the system command execution duration.

getOutputData

public java.lang.StringBuffer getOutputData()

setOutputData

public void setOutputData(java.lang.StringBuffer outputData)

This attribute defines the system command execution output buffer.

Parameters:
outputData - the system command execution output buffer.

getErrorData

public java.lang.StringBuffer getErrorData()

setErrorData

public void setErrorData(java.lang.StringBuffer errorData)

This attribute defines the system command execution error buffer.

Parameters:
errorData - the system command execution error buffer.


Copyright © 2005-2012 FuseSource. All Rights Reserved.