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

public static enum ApplicationPlugin.PluginType extends Enum<ApplicationPlugin.PluginType>
An enumeration holding the different types of plugins.
  • Enum Constant Details

    • PRIMARY

      public static final ApplicationPlugin.PluginType PRIMARY
      A plugin that defines the application. The primary plugin may also provide application functionality.
    • APPLICATION

      public static final ApplicationPlugin.PluginType 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

      public static final ApplicationPlugin.PluginType 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

      public static ApplicationPlugin.PluginType[] 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

      public static ApplicationPlugin.PluginType valueOf(String name)
      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 name
      NullPointerException - if the argument is null