Package | Description |
---|---|
oracle.as.scheduler |
Enterprise Scheduler API interfaces and classes, including
RuntimeService and MetadataService.
|
oracle.as.scheduler.async |
Classes for use by asynchronous jobs.
|
oracle.as.scheduler.request |
Request Log and Output Content API.
|
oracle.as.scheduler.substitution |
Support for substitution on environment, configuration, execution context, and parameters.
|
Modifier and Type | Method and Description |
---|---|
void |
RuntimeService.cancelRequest(RuntimeServiceHandle handle,
long requestId)
Cancels the processing of a request that is not in a terminal state.
|
void |
RuntimeService.closeContent(RuntimeServiceHandle handle,
ContentHandle contentHandle)
Closes the previously opened log or output content and releases
the handle.
|
void |
RuntimeService.deleteOutputContent(RequestExecutionContext context,
List contentNames)
Deletes the list of request output content from the content store,
if it exists.
|
void |
RuntimeService.deleteRequest(RuntimeServiceHandle handle,
long requestId)
Marks a submitted request as deleted.
|
byte[] |
RuntimeService.getBinaryContent(RuntimeServiceHandle handle,
ContentHandle contentHandle,
int maxBytes)
Gets at most
maxBytes bytes from the binary content. |
RequestExecutionContext |
AsyncRequestBeanInterface.getContextFromString(String string)
Converts the string representation of a RequestExecutionContext
into RequestExecutionContext object.
|
ExternalJobStatus |
RuntimeService.getExternalJobStatus(RuntimeServiceHandle handle,
long requestId)
Determines the general status of the external job for a request.
|
FailedExecutionResult |
RuntimeService.getFailedExecutionResult(RuntimeServiceHandle handle,
long requestId)
Retrieves the result of the last failed execution attempt for the
specified request which has been retried at least once.
|
ContentDetail |
RuntimeService.getLogContentDetail(RuntimeServiceHandle handle,
long requestId)
Gets the log content detail for the request.
|
String[] |
RuntimeService.getLogLines(RuntimeServiceHandle handle,
ContentHandle contentHandle,
int maxLines)
Gets at most
maxLines lines from the request log,
continuing from the last call to this method. |
List |
RuntimeService.getOutputContentDetail(RuntimeServiceHandle handle,
long requestId)
Gets details for all output content for the request.
|
ContentDetail |
RuntimeService.getOutputContentDetail(RuntimeServiceHandle handle,
long requestId,
String contentName)
Gets details for the specified output content for the request.
|
RequestDetail |
RuntimeService.getRequestDetail(RuntimeServiceHandle handle,
long requestId)
Retrieves runtime details of the specified request.
|
RequestDetail |
RuntimeService.getRequestDetail(RuntimeServiceHandle handle,
long requestId,
boolean includeTranslation)
Retrieves runtime details of the specified request.
|
RequestDetail |
RuntimeService.getRequestDetailBasic(RuntimeServiceHandle handle,
long requestId)
Retrieves basic runtime details of the specified request.
|
RequestDetail[] |
RuntimeService.getRequestDetails(RuntimeServiceHandle handle,
long[] requestIds)
Retrieves basic runtime details of the specified requests.
|
RequestDetail[] |
RuntimeService.getRequestDetails(RuntimeServiceHandle handle,
long[] requestIds,
boolean includeTranslation)
Retrieves basic runtime details of the specified requests.
|
Object |
RuntimeService.getRequestParameter(RuntimeServiceHandle handle,
long requestId,
String name)
Retrieves the value of a request parameter.
|
Enumeration |
RuntimeService.getRequests(RuntimeServiceHandle handle,
long requestId)
Gets an enumeration of the request identifiers for those requests
that have the specified request as their immediate parent and are
associated with the current execution attempt of that parent request.
|
State |
RuntimeService.getRequestState(RuntimeServiceHandle handle,
long requestId)
Retrieves the current state of the specified request.
|
char[] |
RuntimeService.getTextContent(RuntimeServiceHandle handle,
ContentHandle contentHandle,
int maxChars)
Gets at most
maxChars lines from the log or output text content. |
void |
RuntimeService.holdRequest(RuntimeServiceHandle handle,
long requestId)
Withholds further processing of a request that is in
WAIT
or READY state. |
void |
RuntimeService.lockRequest(RuntimeServiceHandle handle,
long requestId)
Acquires a lock for the given request.
|
void |
RuntimeService.logContent(RequestExecutionContext context,
Level level,
String message)
Logs a message to the request log in the content store
during job execution.
|
ContentHandle |
RuntimeService.openOutputContent(RuntimeServiceHandle handle,
RequestExecutionContext context,
String contentName,
ContentType contentType,
EnumSet options)
Opens the named request output during job execution.
|
boolean |
RuntimeService.outputContentExists(RequestExecutionContext context,
String contentName)
Determines if the output content exists for the request.
|
void |
RuntimeService.releaseRequest(RuntimeServiceHandle handle,
long requestId)
Releases a request from the
HOLD state. |
void |
RuntimeService.replaceSchedule(RuntimeServiceHandle handle,
long requestId,
MetadataObjectId scheduleId)
Replace the current schedule for a request that has already been
submitted.
|
void |
RuntimeService.replaceSchedule(RuntimeServiceHandle handle,
long requestId,
MetadataObjectId scheduleId,
Schedule schedule,
Calendar start,
Calendar end)
Replace the current schedule for a request that has already been
submitted with a schedule.
|
void |
RuntimeService.replaceSchedule(RuntimeServiceHandle handle,
long requestId,
Schedule schedule)
Replace the current schedule for a request that has already been
submitted.
|
void |
RuntimeService.setRequestParameter(RuntimeServiceHandle handle,
long requestId,
String name,
Object value)
Sets the value of a request parameter for a specified request.
|
void |
AsyncRequestBeanInterface.setRequestStatus(RequestExecutionContext context,
AsyncStatus status,
String statusMessage)
Set the status of an ESS asynchronous java job.
|
void |
AsyncRequestBeanRemote.setRequestStatus(String context,
String status,
String statusMessage)
Set the status of an ESS asynchronous java job.
|
void |
RuntimeService.updateRequestParameter(RuntimeServiceHandle handle,
long requestId,
String name,
Object value)
Updates the value of a request parameter for a specified request.
|
void |
RuntimeService.updateRequestStartEnd(RuntimeServiceHandle handle,
long requestId,
Calendar start,
Calendar end)
Replace the start and end time for a request that has already
been submitted.
|
Modifier and Type | Method and Description |
---|---|
void |
AsyncHelper.onBizError(String errorMsg) |
void |
RemoteAsyncHelper.onBizError(String errorMsg) |
void |
AsyncHelper.onCancel() |
void |
RemoteAsyncHelper.onCancel() |
void |
AsyncHelper.onError(String errorMsg) |
void |
RemoteAsyncHelper.onError(String errorMsg) |
void |
AsyncHelper.onPause(String pausedState) |
void |
RemoteAsyncHelper.onPause(String pausedState) |
void |
AsyncHelper.onSuccess() |
void |
RemoteAsyncHelper.onSuccess() |
void |
AsyncHelper.onWarning(String warningMsg) |
void |
RemoteAsyncHelper.onWarning(String warningMsg) |
void |
AsyncHelper.setRequestStatus(AsyncStatus status,
String statusMessage) |
void |
RemoteAsyncHelper.setRequestStatus(AsyncStatus status,
String statusMessage) |
Modifier and Type | Method and Description |
---|---|
void |
RemoteContentHelper.closeOutputContent(ContentHandle contentHandle)
Closes the content associated with the given content handle.
|
void |
RemoteContentHelper.deleteOutputContent(List contentNames)
Deletes the list of request output content from the content store,
if it exists.
|
void |
RemoteContentHelper.deleteOutputContent(String contentName)
Deletes the request output content from the content store,
if it exists.
|
byte[] |
RemoteContentHelper.getBinaryContent(ContentHandle contentHandle,
int maxBytes)
Gets at most
maxBytes bytes from the binary content. |
List |
RemoteContentHelper.getOutputContentDetail()
Gets details for all output content for the request.
|
ContentDetail |
RemoteContentHelper.getOutputContentDetail(String contentName)
Gets details for the specified output content for the request.
|
static OutputContentHelper |
ContentFactory.getOutputContentHelper(long requestId)
Gets the helper for creating output content for requests with
Standard or Extended request mode.
|
static OutputContentHelper |
ContentFactory.getOutputContentHelper(long requestId,
RuntimeServiceHandle rsh)
Gets the helper for creating output content for requests with
Standard or Extended request mode.
|
static RequestLogger |
ContentFactory.getRequestLogger(long requestId)
Gets the request logger for the specified request, which logs
to the ESS content store.
|
static RequestOutput |
ContentFactory.getRequestOutput(RuntimeServiceHandle rsh,
long requestId,
ContentType contentType,
String contentName)
Retrieves the request output and creates the output content in the
ESS content store for the request.
|
char[] |
RemoteContentHelper.getTextContent(ContentHandle contentHandle,
int maxChars)
Gets at most
maxChars characters from the text output content. |
void |
RemoteContentHelper.log(Level level,
String message)
Logs the message at the given level.
|
ContentHandle |
RemoteContentHelper.openOutputContent(RuntimeServiceHandle runtimeHandle,
String contentName,
ContentType contentType,
EnumSet options)
Opens output content for read or write.
|
boolean |
RemoteContentHelper.outputContentExists(String contentName)
Determines if the output content exists for the request.
|
Modifier and Type | Method and Description |
---|---|
String |
CcwSubstitutionManager.getSubstitutedValue(long requestId,
String paramName,
String unsubVal) |
static Substitutor |
SubstitutorFactory.getSubstitutor(RequestExecutionContext ctxt,
RequestParameters params)
Create the standard
Substitutor . |
static Substitutor |
SubstitutorFactory.getSubstitutorWithAltEnv(RequestExecutionContext ctxt,
RequestParameters params,
Map altAppEnv)
Create the standard
Substitutor . |