Package org.eclipse.osgi.container
Enum Class Module.State
- All Implemented Interfaces:
Serializable
,Comparable<Module.State>
,Constable
- Enclosing class:
- Module
An enumeration of the possible
states
a module may
be in.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe module is now running.The module is installed but not yet resolved.The module is waiting for atrigger
class load to proceed with starting.The module is resolved and able to be started.The module is in the process of starting.The module is in the process of stoppingThe module is uninstalled and may not be used. -
Method Summary
Modifier and TypeMethodDescriptionstatic Module.State
Returns the enum constant of this class with the specified name.static Module.State[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INSTALLED
The module is installed but not yet resolved. -
RESOLVED
The module is resolved and able to be started. -
LAZY_STARTING
The module is waiting for atrigger
class load to proceed with starting. -
STARTING
The module is in the process of starting. -
ACTIVE
The module is now running. -
STOPPING
The module is in the process of stopping -
UNINSTALLED
The module is uninstalled and may not be used.
-
-
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
-