com.eurotech.framework.cloud.app.command
Class EsfCommandResponsePayload

java.lang.Object
  extended by com.eurotech.framework.message.EsfPayload
      extended by com.eurotech.framework.message.EsfResponsePayload
          extended by com.eurotech.framework.cloud.app.command.EsfCommandResponsePayload

public class EsfCommandResponsePayload
extends EsfResponsePayload


Field Summary
static String METRIC_EXIT_CODE
           
static String METRIC_STDERR
           
static String METRIC_STDOUT
           
static String METRIC_TIMEDOUT
           
 
Fields inherited from class com.eurotech.framework.message.EsfResponsePayload
METRIC_EXCEPTION_MSG, METRIC_EXCEPTION_STACK, METRIC_RESPONSE_CODE, RESPONSE_CODE_BAD_REQUEST, RESPONSE_CODE_ERROR, RESPONSE_CODE_NOTFOUND, RESPONSE_CODE_OK
 
Constructor Summary
EsfCommandResponsePayload(EsfPayload esfPayload)
           
EsfCommandResponsePayload(int responseCode)
           
EsfCommandResponsePayload(int responseCode, Throwable t)
           
EsfCommandResponsePayload(Throwable t)
           
 
Method Summary
 Integer getExitCode()
           
 String getStderr()
           
 String getStdout()
           
 Boolean isTimedout()
           
 void setExitCode(Integer exitCode)
           
 void setStderr(String stderr)
           
 void setStdout(String stdout)
           
 void setTimedout(boolean timedout)
           
 
Methods inherited from class com.eurotech.framework.message.EsfResponsePayload
getExceptionMessage, getExceptionStack, getResponseCode, setException, setExceptionMessage, setExceptionStack, setResponseCode
 
Methods inherited from class com.eurotech.framework.message.EsfPayload
addMetric, getBody, getMetric, getPosition, getTimestamp, metricNames, metrics, metricsIterator, removeAllMetrics, removeMetric, setBody, setPosition, setTimestamp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

METRIC_STDERR

public static final String METRIC_STDERR
See Also:
Constant Field Values

METRIC_STDOUT

public static final String METRIC_STDOUT
See Also:
Constant Field Values

METRIC_EXIT_CODE

public static final String METRIC_EXIT_CODE
See Also:
Constant Field Values

METRIC_TIMEDOUT

public static final String METRIC_TIMEDOUT
See Also:
Constant Field Values
Constructor Detail

EsfCommandResponsePayload

public EsfCommandResponsePayload(EsfPayload esfPayload)

EsfCommandResponsePayload

public EsfCommandResponsePayload(int responseCode,
                                 Throwable t)

EsfCommandResponsePayload

public EsfCommandResponsePayload(int responseCode)

EsfCommandResponsePayload

public EsfCommandResponsePayload(Throwable t)
Method Detail

getStderr

public String getStderr()

setStderr

public void setStderr(String stderr)

getStdout

public String getStdout()

setStdout

public void setStdout(String stdout)

getExitCode

public Integer getExitCode()

setExitCode

public void setExitCode(Integer exitCode)

isTimedout

public Boolean isTimedout()

setTimedout

public void setTimedout(boolean timedout)


Copyright © 2013. All Rights Reserved.