public class OperationStatus extends Object
Constructor and Description |
---|
OperationStatus(boolean success,
String msg) |
OperationStatus(boolean success,
String msg,
StatusCode code) |
Modifier and Type | Method and Description |
---|---|
String |
getMessage()
Get the message included as part of this status.
|
StatusCode |
getStatusCode()
Get the status code associated with the operation status.
|
boolean |
isSuccess()
Does this status indicate success?
|
String |
toString() |
public OperationStatus(boolean success, String msg)
public OperationStatus(boolean success, String msg, StatusCode code)
public boolean isSuccess()
public String getMessage()
public StatusCode getStatusCode()
Copyright © 2018. All rights reserved.