public class OperationStatusInfo extends Object implements OperationStatus, Serializable
Constructor and Description |
---|
OperationStatusInfo()
Constructs a new OperationStatusInfo.
|
OperationStatusInfo(OperationStatus status)
Constructs a new OperationStatusInfo from another
OperationStatus.
|
Modifier and Type | Method and Description |
---|---|
List<String> |
getErrors()
Returns the error messages for this transaction.
|
List<String> |
getMessages()
Gets the informational message as a result of this transaction.
|
String |
getStatus()
Gets the operation status for the transaction.
|
List<String> |
getWarnings()
Returns the warning messages for this transaction.
|
void |
setErrors(List<String> errors) |
void |
setMessages(List<String> messages) |
void |
setStatus(String status) |
void |
setWarnings(List<String> warnings) |
public OperationStatusInfo()
public OperationStatusInfo(OperationStatus status)
status
- the OperationStatus to copypublic String getStatus()
OperationStatus
getStatus
in interface OperationStatus
public List<String> getMessages()
OperationStatus
getMessages
in interface OperationStatus
public void setMessages(List<String> messages)
public List<String> getWarnings()
OperationStatus
getWarnings
in interface OperationStatus
public void setWarnings(List<String> warnings)
public List<String> getErrors()
OperationStatus
getErrors
in interface OperationStatus
Copyright © 2004-2014 The Kuali Foundation. All Rights Reserved.