public abstract class TransferOutcome extends Object implements Serializable
| Constructor and Description |
|---|
TransferOutcome() |
| Modifier and Type | Method and Description |
|---|---|
String |
failure()
Returns the exception raised when unsuccessfully transfer a file.
|
String |
getException() |
boolean |
isFailure() |
boolean |
isSuccess() |
void |
setException(String exception) |
public boolean isSuccess()
true if the outcome indicates success, false otherwisepublic boolean isFailure()
true if the outcome indicates a failure, false otherwisepublic String getException()
public void setException(String exception)
public String failure()
null if the outcome indicates a successCopyright © 2015. All Rights Reserved.