Enum ProcessServerStatus
- java.lang.Object
- 
- java.lang.Enum<ProcessServerStatus>
- 
- com.redwood.scheduler.api.model.enumeration.ProcessServerStatus
 
 
- 
- All Implemented Interfaces:
- BaseSchedulerEnumeration<ProcessServerStatus,Character>,- SchedulerEnumeration<ProcessServerStatus>,- Serializable,- Comparable<ProcessServerStatus>
 
 public enum ProcessServerStatus extends Enum<ProcessServerStatus> implements SchedulerEnumeration<ProcessServerStatus> The current or desired status of the ProcessServer. (Character Enumeration)
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description ConnectingA ProcessServer service is currently trying to connect to the remote system.CreatedThe ProcessServer has been created, but has never been started.ErrorThe ProcessServer cannot process processes because of some failure condition, possible a resource restriction.OverloadedThe ProcessServer is running above its load threshold.PartiallyRunningThe ProcessServer and at least one service (but not all services) are running.RunningThe ProcessServer is currently running normally.ShutdownThe ProcessServer is not currently running.ShutdownAbortThe ProcessServer is being shutdown with the Abort Flag.ShutdownImmediateThe ProcessServer is being shutdown immediately.ShutdownNormalThe ProcessServer is being shutdown normally.StartingThe ProcessServer is in the process of starting up.UnknownThe state of the ProcessServer is not currently known.UpdatingA ProcessServer service is currently trying to update the software on the remote system.
 - 
Field SummaryFields Modifier and Type Field Description static charConnectingCodeThe char returned from Connecting.getCodeEx().static charCreatedCodeThe char returned from Created.getCodeEx().static charErrorCodeThe char returned from Error.getCodeEx().static charOverloadedCodeThe char returned from Overloaded.getCodeEx().static charPartiallyRunningCodeThe char returned from PartiallyRunning.getCodeEx().static charRunningCodeThe char returned from Running.getCodeEx().static charShutdownAbortCodeThe char returned from ShutdownAbort.getCodeEx().static charShutdownCodeThe char returned from Shutdown.getCodeEx().static charShutdownImmediateCodeThe char returned from ShutdownImmediate.getCodeEx().static charShutdownNormalCodeThe char returned from ShutdownNormal.getCodeEx().static charStartingCodeThe char returned from Starting.getCodeEx().static charUnknownCodeThe char returned from Unknown.getCodeEx().static charUpdatingCodeThe char returned from Updating.getCodeEx().
 - 
Method SummaryAll 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.intgetPriority()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 ProcessServerStatussafeValueOf(String value)Helper function to return the ProcessServerStatus represented byvalue.static ProcessServerStatusvalueOf(char code)Helper function to return the ProcessServerStatus represented by code.static ProcessServerStatusvalueOf(Character code)Helper function to return the ProcessServerStatus represented by code.static ProcessServerStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static ProcessServerStatusvalueOfCode(String code)Helper function to return the ProcessServerStatus represented by code.static ProcessServerStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.- 
Methods inherited from class java.lang.Enumclone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 - 
Methods inherited from interface com.redwood.scheduler.api.model.enumeration.BaseSchedulerEnumerationname, ordinal
 - 
Methods inherited from interface java.lang.ComparablecompareTo
 
- 
 
- 
- 
- 
Enum Constant Detail- 
Createdpublic static final ProcessServerStatus Created The ProcessServer has been created, but has never been started. This is also the value that the DesiredStatus attribute is reset to (and hence the only value seen in the database).
 - 
Startingpublic static final ProcessServerStatus Starting The ProcessServer is in the process of starting up.
 - 
Runningpublic static final ProcessServerStatus Running The ProcessServer is currently running normally.
 - 
Shutdownpublic static final ProcessServerStatus Shutdown The ProcessServer is not currently running.
 - 
ShutdownAbortpublic static final ProcessServerStatus ShutdownAbort The ProcessServer is being shutdown with the Abort Flag.
 - 
ShutdownImmediatepublic static final ProcessServerStatus ShutdownImmediate The ProcessServer is being shutdown immediately.
 - 
ShutdownNormalpublic static final ProcessServerStatus ShutdownNormal The ProcessServer is being shutdown normally.
 - 
Unknownpublic static final ProcessServerStatus Unknown The state of the ProcessServer is not currently known.
 - 
Connectingpublic static final ProcessServerStatus Connecting A ProcessServer service is currently trying to connect to the remote system.
 - 
Updatingpublic static final ProcessServerStatus Updating A ProcessServer service is currently trying to update the software on the remote system.
 - 
PartiallyRunningpublic static final ProcessServerStatus PartiallyRunning The ProcessServer and at least one service (but not all services) are running.
 - 
Overloadedpublic static final ProcessServerStatus Overloaded The ProcessServer is running above its load threshold.
 - 
Errorpublic static final ProcessServerStatus Error The ProcessServer cannot process processes because of some failure condition, possible a resource restriction.
 
- 
 - 
Field Detail- 
CreatedCodepublic static final char CreatedCode The char returned from Created.getCodeEx().- See Also:
- Created, Constant Field Values
 
 - 
StartingCodepublic static final char StartingCode The char returned from Starting.getCodeEx().- See Also:
- Starting, Constant Field Values
 
 - 
RunningCodepublic static final char RunningCode The char returned from Running.getCodeEx().- See Also:
- Running, Constant Field Values
 
 - 
ShutdownCodepublic static final char ShutdownCode The char returned from Shutdown.getCodeEx().- See Also:
- Shutdown, Constant Field Values
 
 - 
ShutdownAbortCodepublic static final char ShutdownAbortCode The char returned from ShutdownAbort.getCodeEx().- See Also:
- ShutdownAbort, Constant Field Values
 
 - 
ShutdownImmediateCodepublic static final char ShutdownImmediateCode The char returned from ShutdownImmediate.getCodeEx().- See Also:
- ShutdownImmediate, Constant Field Values
 
 - 
ShutdownNormalCodepublic static final char ShutdownNormalCode The char returned from ShutdownNormal.getCodeEx().- See Also:
- ShutdownNormal, Constant Field Values
 
 - 
UnknownCodepublic static final char UnknownCode The char returned from Unknown.getCodeEx().- See Also:
- Unknown, Constant Field Values
 
 - 
ConnectingCodepublic static final char ConnectingCode The char returned from Connecting.getCodeEx().- See Also:
- Connecting, Constant Field Values
 
 - 
UpdatingCodepublic static final char UpdatingCode The char returned from Updating.getCodeEx().- See Also:
- Updating, Constant Field Values
 
 - 
PartiallyRunningCodepublic static final char PartiallyRunningCode The char returned from PartiallyRunning.getCodeEx().- See Also:
- PartiallyRunning, Constant Field Values
 
 - 
OverloadedCodepublic static final char OverloadedCode The char returned from Overloaded.getCodeEx().- See Also:
- Overloaded, Constant Field Values
 
 - 
ErrorCodepublic static final char ErrorCode The char returned from Error.getCodeEx().- See Also:
- Error, Constant Field Values
 
 
- 
 - 
Method Detail- 
valuespublic static ProcessServerStatus[] 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 (ProcessServerStatus c : ProcessServerStatus.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static ProcessServerStatus 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 name
- NullPointerException- if the argument is null
 
 - 
getPrioritypublic int getPriority() 
 - 
valueOfCodepublic static ProcessServerStatus valueOfCode(String code) Helper function to return the ProcessServerStatus 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 ProcessServerStatus
- Returns:
- The ProcessServerStatus corresponding to code, or null, if code is null, longer than one character, or not a valid code
 
 - 
safeValueOfpublic static ProcessServerStatus safeValueOf(String value) Helper function to return the ProcessServerStatus represented byvalue. Ifvalueis null, or not a valid ProcessServerStatus 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 ProcessServerStatus corresponding to value, or null, ifvalueis null, or not a valid enumeration
- See Also:
- valueOf(String)
 
 - 
valueOfpublic static ProcessServerStatus valueOf(Character code) Helper function to return the ProcessServerStatus represented by code. If code is null, or not a valid ProcessServerStatus code then this method will return null.- Parameters:
- code- Character that is one of the codes for HandlerAction
- Returns:
- The ProcessServerStatus corresponding to code, or null, if code is null, or not a valid code
 
 - 
valueOfpublic static ProcessServerStatus valueOf(char code) Helper function to return the ProcessServerStatus represented by code. If code is not a valid ProcessServerStatus code then this method will return null.- Parameters:
- code- char that is one of the codes for HandlerAction
- Returns:
- The ProcessServerStatus corresponding to code, or null, if code is not a valid code
 
 - 
getCodeExpublic char getCodeEx() Description copied from interface:SchedulerEnumerationGet the code that is used to represent this enumeration in the database.- Specified by:
- getCodeExin interface- SchedulerEnumeration<ProcessServerStatus>
- Returns:
- the database code for the enumeration
 
 - 
getCodeExValuepublic Character getCodeExValue() Description copied from interface:BaseSchedulerEnumerationReturn the code for the enumeration item as the database type of this enumeration.- Specified by:
- getCodeExValuein interface- BaseSchedulerEnumeration<ProcessServerStatus,Character>
- Returns:
- the enumeration code
 
 - 
getCodeExCharacterpublic Character getCodeExCharacter() Description copied from interface:SchedulerEnumerationGet the code that is used to represent this enumeration in the database.- Specified by:
- getCodeExCharacterin interface- SchedulerEnumeration<ProcessServerStatus>
- Returns:
- the database code for the enumeration
 
 - 
getTranslationKeypublic 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 interface- BaseSchedulerEnumeration<ProcessServerStatus,Character>
- Returns:
- the key.
 
 - 
getTranslationENpublic String getTranslationEN() Description copied from interface:BaseSchedulerEnumerationGet the English name of this enumeration.- Specified by:
- getTranslationENin interface- BaseSchedulerEnumeration<ProcessServerStatus,Character>
- Returns:
- the English name of this enumeration.
 
 - 
getDescriptionKeypublic 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 interface- BaseSchedulerEnumeration<ProcessServerStatus,Character>
- Returns:
- the key that can be passed to
         SchedulerSession.translateField(String)to retrieve the translated description.
 
 - 
getCodeExStringpublic String getCodeExString() Description copied from interface:SchedulerEnumerationGet the code that is used to represent this enumeration in the database.- Specified by:
- getCodeExStringin interface- SchedulerEnumeration<ProcessServerStatus>
- Returns:
- the database code for the enumeration
 
 
- 
 
-