Package com.atlassian.application.api
Enum Class ApplicationPlugin.PluginType
java.lang.Object
java.lang.Enum<ApplicationPlugin.PluginType>
com.atlassian.application.api.ApplicationPlugin.PluginType
- All Implemented Interfaces:
Serializable,Comparable<ApplicationPlugin.PluginType>,Constable
- Enclosing interface:
- ApplicationPlugin
An enumeration holding the different types of plugins.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA plugin that provides fundamental features for the application.A plugin that defines the application.A plugin that provides functionality for the primary and application plugins. -
Method Summary
Modifier and TypeMethodDescriptionstatic ApplicationPlugin.PluginTypeReturns the enum constant of this class with the specified name.static ApplicationPlugin.PluginType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PRIMARY
A plugin that defines the application. The primary plugin may also provide application functionality. -
APPLICATION
A plugin that provides fundamental features for the application. The application owns the plugin (i.e the plugin will not work without the primary of the application). -
UTILITY
A plugin that provides functionality for the primary and application plugins. This plugin is not owned by the application (i.e. the plugin will work without the primary of the application).
-
-
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
-