Class ShellResult
java.lang.Object
com.github.shoothzj.javatool.module.ShellResult
- Author:
- hezhangjian
-
Constructor Summary
ConstructorsConstructorDescriptionShellResult(int returnCode, String inputContent, String errorContent) ShellResult(int returnCode, String inputContent, String errorContent, Exception error) ShellResult(String inputContent, String errorContent) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleangetError()intinthashCode()voidvoidsetErrorContent(String errorContent) voidsetInputContent(String inputContent) voidsetReturnCode(int returnCode) toString()
-
Constructor Details
-
ShellResult
public ShellResult() -
ShellResult
-
ShellResult
-
ShellResult
-
-
Method Details
-
getReturnCode
public int getReturnCode() -
getInputContent
-
getErrorContent
-
getError
-
setReturnCode
public void setReturnCode(int returnCode) -
setInputContent
-
setErrorContent
-
setError
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-