public static class ShellUtils.CommandResult
extends java.lang.Object
result
means result of command, 0 means normal, else means error, same to excute in
linux shellsuccessMsg
means success message of command resulterrorMsg
means error message of command resultModifier and Type | Field and Description |
---|---|
java.lang.String |
errorMsg
error message of command result
|
int |
result
result of command
|
java.lang.String |
successMsg
success message of command result
|
Constructor and Description |
---|
ShellUtils.CommandResult(int result) |
ShellUtils.CommandResult(int result,
java.lang.String successMsg,
java.lang.String errorMsg) |