public interface AsyncRequestBeanInterface
Modifier and Type | Method and Description |
---|---|
RequestExecutionContext |
getContextFromString(String string)
Converts the string representation of a RequestExecutionContext
into RequestExecutionContext object.
|
void |
setRequestStatus(RequestExecutionContext context,
AsyncStatus status,
String statusMessage)
Set the status of an ESS asynchronous java job.
|
void setRequestStatus(RequestExecutionContext context, AsyncStatus status, String statusMessage) throws RuntimeServiceException, RequestNotFoundException
context
- The RequestExecutionContext
with which the
request was started.status
- The status of the request.statusMessage
- An error message if the status is ERROR,
a warning message if the status is WARNING,
the paused state if the status is PAUSED.
The value will be ignored if the status is SUCCESS or CANCEL.RequestNotFoundException
- If a request is not found for the
context
.RuntimeServiceException
- if an error occurred.RequestExecutionContext getContextFromString(String string) throws RuntimeServiceException, RequestNotFoundException
RequestExecutionContext.toString()
string
- the String to convert to a context.RequestNotFoundException
- If a request is not found for the
context
.RuntimeServiceException
- if an error occurred.