
public class LocalExecResult extends Object
| Constructor and Description |
|---|
LocalExecResult(boolean isSuccess,
int status,
Exception exception,
String result) |
LocalExecResult(LocalExecResult localExecResult)
Constructor from a pre-existing LocalExecResult
|
| Modifier and Type | Method and Description |
|---|---|
Exception |
getException() |
String |
getResult() |
int |
getStatus() |
boolean |
isSuccess() |
void |
set(LocalExecResult localExecResult)
Set the values from a LocalExecResult (pointer copy)
|
void |
setException(Exception exception) |
void |
setResult(String result) |
void |
setStatus(int status) |
void |
setSuccess(boolean isSuccess) |
String |
toString() |
public LocalExecResult(boolean isSuccess,
int status,
Exception exception,
String result)
status - exception - result - public LocalExecResult(LocalExecResult localExecResult)
localExecResult - public void set(LocalExecResult localExecResult)
localExecResult - public int getStatus()
public void setStatus(int status)
status - the status to setpublic boolean isSuccess()
public void setSuccess(boolean isSuccess)
isSuccess - the isSuccess to setpublic Exception getException()
public void setException(Exception exception)
exception - the exception to setpublic String getResult()
public void setResult(String result)
result - the result to setCopyright © 2009–2020 Waarp. All rights reserved.