Enum Class Plugin.PluginState
- All Implemented Interfaces:
Serializable
,Comparable<Plugin.PluginState>
,Constable
- Enclosing interface:
- Plugin
Represents internal state of plugin in system
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionPlugin is enabled and serving functionality for users.Plugin is going down and is no longer serving any functionality.Plugin is serving functionality to other plugins, but it is not serving any functionality for users.Plugin is preparing to be serving functionality to other plugins.Plugin is installed in system and is ready to be enabled.Plugin is awaiting removal from system and cannot be enabled. -
Method Summary
Modifier and TypeMethodDescriptionstatic Plugin.PluginState
Returns the enum constant of this class with the specified name.static Plugin.PluginState[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INSTALLED
Plugin is installed in system and is ready to be enabled. -
ENABLING
Plugin is preparing to be serving functionality to other plugins. -
ENABLED
Plugin is serving functionality to other plugins, but it is not serving any functionality for users. -
ACTIVE
Plugin is enabled and serving functionality for users. -
DISABLING
Plugin is going down and is no longer serving any functionality. -
UNINSTALLED
Plugin is awaiting removal from system and cannot be enabled.
-
-
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
-