org.znerd.util.proc
Class CommandRunResult

java.lang.Object
  extended by org.znerd.util.proc.CommandRunResult

public class CommandRunResult
extends Object


Constructor Summary
CommandRunResult()
           
 
Method Summary
 long getDuration()
           
 Throwable getException()
           
 int getExitCode()
           
 String getStderrString()
           
 String getStdoutString()
           
 boolean isFailed()
           
 boolean isSucceeded()
           
 void setDuration(long duration)
           
 void setException(Throwable exception)
           
 void setExitCode(int exitCode)
           
 void setStderrString(String stderrString)
           
 void setStdoutString(String outString)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandRunResult

public CommandRunResult()
Method Detail

setDuration

public void setDuration(long duration)

getDuration

public long getDuration()

setException

public void setException(Throwable exception)

getException

public Throwable getException()

setExitCode

public void setExitCode(int exitCode)

getExitCode

public int getExitCode()

isSucceeded

public boolean isSucceeded()

isFailed

public boolean isFailed()

setStdoutString

public void setStdoutString(String outString)

getStdoutString

public String getStdoutString()

setStderrString

public void setStderrString(String stderrString)

getStderrString

public String getStderrString()


Copyright © 2011-2012. All Rights Reserved.