|
Oracle Fusion Applications Java API Reference for Oracle Enterprise Scheduler Service 11g Release 1 (11.1.1.6) E20742-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RequestExecutionContext
Defines the context of a request execution. An execution context is used by a request executable, pre-process callback, and post-process callback to retrieve information about the context in which the request is running.
Executable
,
PreProcessHandler
,
PostProcessHandler
Field Summary | |
---|---|
static long |
serialVersionUID
|
Method Summary | |
---|---|
long |
getEnterpriseId()
Returns the enterprise ID of the request. |
State |
getExecStageState()
Returns the state of the job execution, which can be either SUCCEEDED or WARNING. |
java.lang.String |
getPausedState()
Gets the paused state specified by the application when this request was previously paused. |
java.lang.String |
getRequestHandle()
Gets the request handle associated with the executing request. |
long |
getRequestId()
Gets the request identifier of the executing request. |
boolean |
isResumed()
Indicates whether this request being resumed from a PAUSED
state. |
java.lang.String |
toIdString()
Returns a String representation of this object suitable for use as a web service message ID. |
java.lang.String |
toString()
Returns a String representation of this object suitable for use in a web service call such as setAsyncRequestStatus . |
Field Detail |
---|
static final long serialVersionUID
Method Detail |
---|
long getRequestId()
boolean isResumed()
PAUSED
state. This allows a request executable that submits sub-requests
to determine if the executable is being run the first time, or
it is being resumed after the sub-requests have completed.
true
if the request is being resumed, or
false
of notjava.lang.String getPausedState()
ExecutionPausedException
used to pause the request.
The value returned by this method is meaningful only for a
resumed request; that is, when
(isResumed() = true
).
null
if no paused state was specified, or this context
does not represent a resumed request.ExecutionPausedException
java.lang.String getRequestHandle()
The request handle is guaranteed to be non-null only when the target request executable is executing; that is, the Java procedure for Java jobs, the PLSQL stored procedure for SQL jobs, and the target executable for process jobs. The request handle may not be available at other times, for example, the pre-process and post-process callback handlers.
null
if one is not availableState getExecStageState()
long getEnterpriseId()
java.lang.String toString()
setAsyncRequestStatus
.
toString
in class java.lang.Object
java.lang.String toIdString()
|
Oracle Fusion Applications Java API Reference for Oracle Enterprise Scheduler Service 11g Release 1 (11.1.1.6) E20742-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |