public static class RuntimeUtil.R extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
private String |
errorStr
执行过程中的警告或错误描述
|
private String |
exceptionStr
异常信息描述
|
private int |
exitValue
执行成功,默认是 0, 非 0 为不成功
|
private String |
inputStr
执行的正常输出信息
|
private int |
waitFor
waitFor 状态码
|
| 构造器和说明 |
|---|
R() |
R(int waitFor,
String inputStr,
String errorStr) |
R(int waitFor,
String inputStr,
String errorStr,
int exitValue) |
R(String inputStr,
String errorStr,
int exitValue) |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getErrorStr() |
String |
getExceptionStr() |
int |
getExitValue() |
String |
getInputStr() |
int |
getWaitFor() |
boolean |
isSuccess() |
void |
setErrorStr(String errorStr) |
void |
setExceptionStr(String exceptionStr) |
void |
setExitValue(int exitValue) |
void |
setInputStr(String inputStr) |
void |
setWaitFor(int waitFor) |
private int waitFor
private String inputStr
private String errorStr
private int exitValue
private String exceptionStr
public int getWaitFor()
public void setWaitFor(int waitFor)
public String getInputStr()
public void setInputStr(String inputStr)
public String getErrorStr()
public void setErrorStr(String errorStr)
public int getExitValue()
public void setExitValue(int exitValue)
public boolean isSuccess()
public String getExceptionStr()
public void setExceptionStr(String exceptionStr)
Copyright © 2024. All rights reserved.