Package org.scictrl.mp.orbitcorrect.mvc
Enum Class ApplicationEngine.State
- All Implemented Interfaces:
Serializable
,Comparable<ApplicationEngine.State>
,Constable
- Enclosing class:
ApplicationEngine
Engine state.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionOperation is active.Engine closed.Last operation failed.Initial state.Initialized. -
Method Summary
Modifier and TypeMethodDescriptionboolean
isActive()
State is active.boolean
isClosed()
State is closedboolean
isFailed()
State is failed.boolean
State is initial.boolean
State is initialized.static ApplicationEngine.State
Returns the enum constant of this class with the specified name.static ApplicationEngine.State[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INITIAL
Initial state. -
FAILED
Last operation failed. -
INITIALIZED
Initialized. -
ACTIVE
Operation is active. -
CLOSED
Engine closed.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
isInitial
public boolean isInitial()State is initial.- Returns:
true
if initial
-
isFailed
public boolean isFailed()State is failed.- Returns:
true
if state failed
-
isInitialized
public boolean isInitialized()State is initialized.- Returns:
true
if state initial
-
isActive
public boolean isActive()State is active.- Returns:
true
if state active
-
isClosed
public boolean isClosed()State is closed- Returns:
true
if state closed
-