Package com.atlassian.plugin
Enum Class PluginState
- All Implemented Interfaces:
Serializable,Comparable<PluginState>,Constable
Represents the state of the plugin
- Since:
- 2.2.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe plugin has been disabledThe plugin is in the process of being disabledThe plugin has been enabledThe plugin is in the process of being enabledThe plugin has been installed into the plugin systemA marker value to indicate that a state change is pending.The plugin has been uninstalled and should be unavailable -
Method Summary
Modifier and TypeMethodDescriptionstatic PluginStateReturns the enum constant of this class with the specified name.static PluginState[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INSTALLED
The plugin has been installed into the plugin system -
ENABLING
The plugin is in the process of being enabled -
ENABLED
The plugin has been enabled -
DISABLING
The plugin is in the process of being disabled- Since:
- 2.8.0
-
DISABLED
The plugin has been disabled -
UNINSTALLED
The plugin has been uninstalled and should be unavailable -
PENDING
A marker value to indicate that a state change is pending. This is not an actual plugin state, and is not returned byPlugin.getPluginState(). It is used by helper functions returning PluginState to report special cases.- Since:
- 3.0.21
-
-
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
-