|
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 |
java.lang.Object oracle.as.scheduler.FailedExecutionResult
public class FailedExecutionResult
Encapsulates the result of a failed execution attempt for a request.
Constructor Summary | |
---|---|
protected |
FailedExecutionResult(long requestId,
int executionAttempt,
State state,
ErrorType errorType,
Cause cause,
java.lang.String errorWarningMessage,
java.util.Calendar errorWarningTime)
Constructs a new instance with minimal information from a failed execution attempt. |
protected |
FailedExecutionResult(long requestId,
int executionAttempt,
State state,
ErrorType errorType,
Cause cause,
java.lang.String errorWarningMessage,
java.util.Calendar errorWarningTime,
java.lang.String errorWarningDetail,
java.util.Calendar scheduledTime,
java.util.Calendar processStart,
java.util.Calendar processEnd,
java.lang.String dispatcher,
java.lang.String processor,
MetadataObjectId workAssignmentId,
MetadataObjectId workshiftId,
int pausedCount,
int lastSubrequestSet,
java.lang.String preprocessStatus,
java.lang.String preprocessMessage,
java.lang.String postprocessStatus,
java.lang.String postprocessMessage,
java.lang.String executableStatus)
Constructs a new instance with complete information from a failed execution attempt. |
Method Summary | |
---|---|
static FailedExecutionResult |
from(javax.management.openmbean.CompositeData cd)
Create an instance of the model specific class out of an associated CompositeData instance |
Cause |
getCause()
Returns the cause for this failed execution attempt. |
java.lang.String |
getDispatcher()
Returns the name of the server that dispatched this execution attempt. |
ErrorType |
getErrorType()
Gets the error type for this failed execution attempt. |
java.lang.String |
getErrorWarningDetail()
Returns the stack trace of the error/warning that happened during this execution attempt. |
java.lang.String |
getErrorWarningMessage()
Returns the message associated with an error/warning that occurred during this execution attempt. |
java.util.Calendar |
getErrorWarningTime()
Returns the time of error/warning occured during this execution attempt. |
java.lang.String |
getExecutableStatus()
The status of the request when the executable stage completed. |
int |
getExecutionAttempt()
Returns the current execution attempt for this request. |
int |
getLastSubrequestSet()
The set number assigned to the last subrequest submitted by this request during this execution attempt. |
int |
getPausedCount()
The number of times this request was paused during this execution attempt. |
java.lang.String |
getPostProcessMessage()
The action message returned by the post-processor for this request. |
java.lang.String |
getPostProcessStatus()
The status returned by the post-processor for this request. |
java.lang.String |
getPreProcessMessage()
The action message returned by the pre-processor for this request. |
java.lang.String |
getPreProcessStatus()
The status returned by the pre-processor for this request. |
java.util.Calendar |
getProcessEnd()
Returns the time processing ended for this execution attempt. |
java.lang.String |
getProcessor()
Returns the name of the server that processed this execution attempt. |
java.util.Calendar |
getProcessStart()
Returns the time processing started for this execution attempt. |
long |
getRequestId()
Gets the request identifier associated with this execution attempt. |
java.util.Calendar |
getScheduledTime()
Returns the scheduled time of this execution attempt. |
State |
getState()
Gets the state for this failed execution attempt. |
MetadataObjectId |
getWorkAssignmentId()
Returns the id of the work assignment that handled this execution attempt. |
MetadataObjectId |
getWorkshiftId()
Returns the id of the workshift that handled this execution attempt. |
javax.management.openmbean.CompositeData |
toCompositeData(javax.management.openmbean.CompositeType ct)
Convert an instance of this model specific type to a CompositeData. |
static javax.management.openmbean.CompositeType |
toCompositeType()
Returns the CompositeType that describes this model specific class |
java.lang.String |
toDebugString()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected FailedExecutionResult(long requestId, int executionAttempt, State state, ErrorType errorType, Cause cause, java.lang.String errorWarningMessage, java.util.Calendar errorWarningTime)
protected FailedExecutionResult(long requestId, int executionAttempt, State state, ErrorType errorType, Cause cause, java.lang.String errorWarningMessage, java.util.Calendar errorWarningTime, java.lang.String errorWarningDetail, java.util.Calendar scheduledTime, java.util.Calendar processStart, java.util.Calendar processEnd, java.lang.String dispatcher, java.lang.String processor, MetadataObjectId workAssignmentId, MetadataObjectId workshiftId, int pausedCount, int lastSubrequestSet, java.lang.String preprocessStatus, java.lang.String preprocessMessage, java.lang.String postprocessStatus, java.lang.String postprocessMessage, java.lang.String executableStatus)
Method Detail |
---|
public long getRequestId()
public int getExecutionAttempt()
public State getState()
public ErrorType getErrorType()
ERROR
.
public Cause getCause()
public java.lang.String getErrorWarningMessage()
public java.util.Calendar getErrorWarningTime()
public java.lang.String getErrorWarningDetail()
public java.util.Calendar getScheduledTime()
public java.util.Calendar getProcessStart()
public java.util.Calendar getProcessEnd()
public java.lang.String getDispatcher()
public java.lang.String getProcessor()
public MetadataObjectId getWorkAssignmentId()
public MetadataObjectId getWorkshiftId()
public int getPausedCount()
public int getLastSubrequestSet()
public java.lang.String getPreProcessStatus()
public java.lang.String getPreProcessMessage()
public java.lang.String getPostProcessStatus()
public java.lang.String getPostProcessMessage()
public java.lang.String getExecutableStatus()
public static javax.management.openmbean.CompositeType toCompositeType()
public javax.management.openmbean.CompositeData toCompositeData(javax.management.openmbean.CompositeType ct)
ct
- This parameter is there only for future compatibility reasons
with JDK 6.0. It can be ignored at this point.public static FailedExecutionResult from(javax.management.openmbean.CompositeData cd) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public java.lang.String toDebugString()
public java.lang.String toString()
toString
in class java.lang.Object
|
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 |