com.pmease.quickbuild.execution
Class Commandline.ExecuteResult

java.lang.Object
  extended by com.pmease.quickbuild.execution.Commandline.ExecuteResult
Enclosing class:
Commandline

public class Commandline.ExecuteResult
extends java.lang.Object


Constructor Summary
Commandline.ExecuteResult()
           
 
Method Summary
 QuickbuildException buildException()
          Build an exception object with command description, stderr output and return code.
 void checkReturnCode()
          Check return code and throw exception if it does not equal to 0.
 java.lang.String getErrorMessage()
           
 int getReturnCode()
           
 void setErrorMessage(java.lang.String errorMessage)
           
 void setReturnCode(int returnCode)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Commandline.ExecuteResult

public Commandline.ExecuteResult()
Method Detail

getReturnCode

public int getReturnCode()

setReturnCode

public void setReturnCode(int returnCode)

getErrorMessage

public java.lang.String getErrorMessage()

setErrorMessage

public void setErrorMessage(java.lang.String errorMessage)

buildException

public QuickbuildException buildException()
Build an exception object with command description, stderr output and return code.

Returns:

checkReturnCode

public void checkReturnCode()
Check return code and throw exception if it does not equal to 0.



Copyright © 2005-2010 PMEase Inc. All Rights Reserved.