public class UpdateAction extends Object
Constructor and Description |
---|
UpdateAction(AsyncStatus status,
String message)
Constructor.
|
UpdateAction(AsyncStatus status,
String message,
Throwable throwable)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
AsyncStatus |
getAsyncStatus()
Gets the AsyncStatus associated with this object.
|
String |
getMessage()
Gets the message associated with this object.
|
Throwable |
getThrowable()
Gets the Throwable associated with this object.
|
public UpdateAction(AsyncStatus status, String message)
status
- Indicates the status of execution of this update event.
This status may result in a state transition for the request.message
- A message that, depending on the value of status
,
may be used for various purposes.
public UpdateAction(AsyncStatus status, String message, Throwable throwable)
status
- Indicates the status of execution of this update event.
This status may result in a state transition for the request.message
- A message that, depending on the value of status
,
may be used for various purposes.
throwable
- Further information about the status of this update.public AsyncStatus getAsyncStatus()
public String getMessage()
null
if nonepublic Throwable getThrowable()
null
if none