Enum OraAppsBatchJobStatus
- java.lang.Object
-
- java.lang.Enum<OraAppsBatchJobStatus>
-
- com.redwood.scheduler.api.model.enumeration.OraAppsBatchJobStatus
-
- All Implemented Interfaces:
BaseSchedulerEnumeration<OraAppsBatchJobStatus,Character>,SchedulerEnumeration<OraAppsBatchJobStatus>,Serializable,Comparable<OraAppsBatchJobStatus>
public enum OraAppsBatchJobStatus extends Enum<OraAppsBatchJobStatus> implements SchedulerEnumeration<OraAppsBatchJobStatus>
What status a OraApps batch job can have (Character Enumeration)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CancelledPending or Inactive request is canceled by choosing the Cancel Request button in the Requests window.CompletedRequest completed successfully.DisabledProgram to run request is not enabled.ErrorRequest failed to complete successfully.NoManagerNo manager is defined to run the request.NormalRequest is running normally.OnHoldPending request is placed on hold by choosing the Hold Request button in the Requests window.PausedParent request pauses for all its child requests to finish running.PendingNormalRequest is waiting for the next available manager.ResumingAll requests submitted by the same parent request have completed running.ScheduledRequest is scheduled to start at a future time or date.StandByProgram to run request is incompatible with other program(s) currently running.SuspendedRequest is inactive and suspended.TerminatedRequest is terminated by choosing the Cancel Request button in the Requests window.TerminatingRequest is terminated by choosing the Cancel Request button in Requests window.WaitingA child request is waiting for its Parent request to mark it ready to run.WaitingZA child request is waiting for its Parent request to mark it ready to run.WarningRequest completed with warnings.
-
Field Summary
Fields Modifier and Type Field Description static charCancelledCodeThe char returned from Cancelled.getCodeEx().static charCompletedCodeThe char returned from Completed.getCodeEx().static charDisabledCodeThe char returned from Disabled.getCodeEx().static charErrorCodeThe char returned from Error.getCodeEx().static charNoManagerCodeThe char returned from NoManager.getCodeEx().static charNormalCodeThe char returned from Normal.getCodeEx().static charOnHoldCodeThe char returned from OnHold.getCodeEx().static charPausedCodeThe char returned from Paused.getCodeEx().static charPendingNormalCodeThe char returned from PendingNormal.getCodeEx().static charResumingCodeThe char returned from Resuming.getCodeEx().static charScheduledCodeThe char returned from Scheduled.getCodeEx().static charStandByCodeThe char returned from StandBy.getCodeEx().static charSuspendedCodeThe char returned from Suspended.getCodeEx().static charTerminatedCodeThe char returned from Terminated.getCodeEx().static charTerminatingCodeThe char returned from Terminating.getCodeEx().static charWaitingCodeThe char returned from Waiting.getCodeEx().static charWaitingZCodeThe char returned from WaitingZ.getCodeEx().static charWarningCodeThe char returned from Warning.getCodeEx().
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description chargetCodeEx()Get the code that is used to represent this enumeration in the database.CharactergetCodeExCharacter()Get the code that is used to represent this enumeration in the database.StringgetCodeExString()Get the code that is used to represent this enumeration in the database.CharactergetCodeExValue()Return the code for the enumeration item as the database type of this enumeration.StringgetDescriptionKey()Get the translation-key for the description that must be used to retrieve the locale-specific description of this enumeration.JobStatusgetMappedJobStatus()StringgetTranslationEN()Get the English name of this enumeration.StringgetTranslationKey()Get the translation-key that must be used to retrieve the locale-specific name of this enumeration.static OraAppsBatchJobStatussafeValueOf(String value)Helper function to return the OraAppsBatchJobStatus represented byvalue.static OraAppsBatchJobStatusvalueOf(char code)Helper function to return the OraAppsBatchJobStatus represented by code.static OraAppsBatchJobStatusvalueOf(Character code)Helper function to return the OraAppsBatchJobStatus represented by code.static OraAppsBatchJobStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static OraAppsBatchJobStatusvalueOfCode(String code)Helper function to return the OraAppsBatchJobStatus represented by code.static OraAppsBatchJobStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.-
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Methods inherited from interface com.redwood.scheduler.api.model.enumeration.BaseSchedulerEnumeration
name, ordinal
-
Methods inherited from interface java.lang.Comparable
compareTo
-
-
-
-
Enum Constant Detail
-
Waiting
public static final OraAppsBatchJobStatus Waiting
A child request is waiting for its Parent request to mark it ready to run. For example, a request in a request set that runs sequentially must wait for a prior request to complete.
-
Resuming
public static final OraAppsBatchJobStatus Resuming
All requests submitted by the same parent request have completed running. The Parent request resumes running.
-
Completed
public static final OraAppsBatchJobStatus Completed
Request completed successfully.
-
Cancelled
public static final OraAppsBatchJobStatus Cancelled
Pending or Inactive request is canceled by choosing the Cancel Request button in the Requests window.
-
Error
public static final OraAppsBatchJobStatus Error
Request failed to complete successfully.
-
Warning
public static final OraAppsBatchJobStatus Warning
Request completed with warnings. For example, a request is generated successfully but fails to print.
-
OnHold
public static final OraAppsBatchJobStatus OnHold
Pending request is placed on hold by choosing the Hold Request button in the Requests window.
-
PendingNormal
public static final OraAppsBatchJobStatus PendingNormal
Request is waiting for the next available manager.
-
NoManager
public static final OraAppsBatchJobStatus NoManager
No manager is defined to run the request. Check with your system administrator. A status of No Manager is also given when all managers are locked by run-alone requests.
-
Scheduled
public static final OraAppsBatchJobStatus Scheduled
Request is scheduled to start at a future time or date.
-
StandBy
public static final OraAppsBatchJobStatus StandBy
Program to run request is incompatible with other program(s) currently running.
-
Normal
public static final OraAppsBatchJobStatus Normal
Request is running normally.
-
Suspended
public static final OraAppsBatchJobStatus Suspended
Request is inactive and suspended.
-
Terminating
public static final OraAppsBatchJobStatus Terminating
Request is terminated by choosing the Cancel Request button in Requests window.
-
Disabled
public static final OraAppsBatchJobStatus Disabled
Program to run request is not enabled. Contact your system administrator.
-
Paused
public static final OraAppsBatchJobStatus Paused
Parent request pauses for all its child requests to finish running. For example, a request set pauses for all requests in the set to complete.
-
Terminated
public static final OraAppsBatchJobStatus Terminated
Request is terminated by choosing the Cancel Request button in the Requests window.
-
WaitingZ
public static final OraAppsBatchJobStatus WaitingZ
A child request is waiting for its Parent request to mark it ready to run. For example, a request in a request set that runs sequentially must wait for a prior request to complete.
-
-
Field Detail
-
WaitingCode
public static final char WaitingCode
The char returned from Waiting.getCodeEx().- See Also:
Waiting, Constant Field Values
-
ResumingCode
public static final char ResumingCode
The char returned from Resuming.getCodeEx().- See Also:
Resuming, Constant Field Values
-
CompletedCode
public static final char CompletedCode
The char returned from Completed.getCodeEx().- See Also:
Completed, Constant Field Values
-
CancelledCode
public static final char CancelledCode
The char returned from Cancelled.getCodeEx().- See Also:
Cancelled, Constant Field Values
-
ErrorCode
public static final char ErrorCode
The char returned from Error.getCodeEx().- See Also:
Error, Constant Field Values
-
WarningCode
public static final char WarningCode
The char returned from Warning.getCodeEx().- See Also:
Warning, Constant Field Values
-
OnHoldCode
public static final char OnHoldCode
The char returned from OnHold.getCodeEx().- See Also:
OnHold, Constant Field Values
-
PendingNormalCode
public static final char PendingNormalCode
The char returned from PendingNormal.getCodeEx().- See Also:
PendingNormal, Constant Field Values
-
NoManagerCode
public static final char NoManagerCode
The char returned from NoManager.getCodeEx().- See Also:
NoManager, Constant Field Values
-
ScheduledCode
public static final char ScheduledCode
The char returned from Scheduled.getCodeEx().- See Also:
Scheduled, Constant Field Values
-
StandByCode
public static final char StandByCode
The char returned from StandBy.getCodeEx().- See Also:
StandBy, Constant Field Values
-
NormalCode
public static final char NormalCode
The char returned from Normal.getCodeEx().- See Also:
Normal, Constant Field Values
-
SuspendedCode
public static final char SuspendedCode
The char returned from Suspended.getCodeEx().- See Also:
Suspended, Constant Field Values
-
TerminatingCode
public static final char TerminatingCode
The char returned from Terminating.getCodeEx().- See Also:
Terminating, Constant Field Values
-
DisabledCode
public static final char DisabledCode
The char returned from Disabled.getCodeEx().- See Also:
Disabled, Constant Field Values
-
PausedCode
public static final char PausedCode
The char returned from Paused.getCodeEx().- See Also:
Paused, Constant Field Values
-
TerminatedCode
public static final char TerminatedCode
The char returned from Terminated.getCodeEx().- See Also:
Terminated, Constant Field Values
-
WaitingZCode
public static final char WaitingZCode
The char returned from WaitingZ.getCodeEx().- See Also:
WaitingZ, Constant Field Values
-
-
Method Detail
-
values
public static OraAppsBatchJobStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (OraAppsBatchJobStatus c : OraAppsBatchJobStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OraAppsBatchJobStatus valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getMappedJobStatus
public JobStatus getMappedJobStatus()
-
valueOfCode
public static OraAppsBatchJobStatus valueOfCode(String code)
Helper function to return the OraAppsBatchJobStatus represented by code. code must be a single character. If code is null, longer than one character, empty, or not a valid code then this method will return null.- Parameters:
code- A string with one character that is one of the codes for OraAppsBatchJobStatus- Returns:
- The OraAppsBatchJobStatus corresponding to code, or null, if code is null, longer than one character, or not a valid code
-
safeValueOf
public static OraAppsBatchJobStatus safeValueOf(String value)
Helper function to return the OraAppsBatchJobStatus represented byvalue. Ifvalueis null, or not a valid OraAppsBatchJobStatus enumeration then this method will return null.The main difference between this method and
valueOf(String), is that this method will return null when passed an invalidvalue,valueOf(String)will throw anIllegalArgumentException.- Parameters:
value- The string value that corresponds to the requested enumeration value- Returns:
- The OraAppsBatchJobStatus corresponding to
value, or null, ifvalueis null, or not a valid enumeration - See Also:
valueOf(String)
-
valueOf
public static OraAppsBatchJobStatus valueOf(Character code)
Helper function to return the OraAppsBatchJobStatus represented by code. If code is null, or not a valid OraAppsBatchJobStatus code then this method will return null.- Parameters:
code- Character that is one of the codes for HandlerAction- Returns:
- The OraAppsBatchJobStatus corresponding to code, or null, if code is null, or not a valid code
-
valueOf
public static OraAppsBatchJobStatus valueOf(char code)
Helper function to return the OraAppsBatchJobStatus represented by code. If code is not a valid OraAppsBatchJobStatus code then this method will return null.- Parameters:
code- char that is one of the codes for HandlerAction- Returns:
- The OraAppsBatchJobStatus corresponding to code, or null, if code is not a valid code
-
getCodeEx
public char getCodeEx()
Description copied from interface:SchedulerEnumerationGet the code that is used to represent this enumeration in the database.- Specified by:
getCodeExin interfaceSchedulerEnumeration<OraAppsBatchJobStatus>- Returns:
- the database code for the enumeration
-
getCodeExValue
public Character getCodeExValue()
Description copied from interface:BaseSchedulerEnumerationReturn the code for the enumeration item as the database type of this enumeration.- Specified by:
getCodeExValuein interfaceBaseSchedulerEnumeration<OraAppsBatchJobStatus,Character>- Returns:
- the enumeration code
-
getCodeExCharacter
public Character getCodeExCharacter()
Description copied from interface:SchedulerEnumerationGet the code that is used to represent this enumeration in the database.- Specified by:
getCodeExCharacterin interfaceSchedulerEnumeration<OraAppsBatchJobStatus>- Returns:
- the database code for the enumeration
-
getTranslationKey
public String getTranslationKey()
Description copied from interface:BaseSchedulerEnumerationGet the translation-key that must be used to retrieve the locale-specific name of this enumeration.- Specified by:
getTranslationKeyin interfaceBaseSchedulerEnumeration<OraAppsBatchJobStatus,Character>- Returns:
- the key.
-
getTranslationEN
public String getTranslationEN()
Description copied from interface:BaseSchedulerEnumerationGet the English name of this enumeration.- Specified by:
getTranslationENin interfaceBaseSchedulerEnumeration<OraAppsBatchJobStatus,Character>- Returns:
- the English name of this enumeration.
-
getDescriptionKey
public String getDescriptionKey()
Description copied from interface:BaseSchedulerEnumerationGet the translation-key for the description that must be used to retrieve the locale-specific description of this enumeration.- Specified by:
getDescriptionKeyin interfaceBaseSchedulerEnumeration<OraAppsBatchJobStatus,Character>- Returns:
- the key that can be passed to
SchedulerSession.translateField(String)to retrieve the translated description.
-
getCodeExString
public String getCodeExString()
Description copied from interface:SchedulerEnumerationGet the code that is used to represent this enumeration in the database.- Specified by:
getCodeExStringin interfaceSchedulerEnumeration<OraAppsBatchJobStatus>- Returns:
- the database code for the enumeration
-
-