com.pmease.quickbuild.execution
Class Commandline.ExecuteResult
java.lang.Object
com.pmease.quickbuild.execution.Commandline.ExecuteResult
- Enclosing class:
- Commandline
public class Commandline.ExecuteResult
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Commandline.ExecuteResult
public Commandline.ExecuteResult()
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.