View Javadoc

1   package com.atlassian.plugin;
2   
3   /**
4    * Represents the state of the plugin
5    *
6    * @since 2.2.0
7    */
8   public enum PluginState
9   {
10      /**
11       * The plugin has been installed into the plugin system
12       */
13      INSTALLED,
14  
15      /**
16       * The plugin is in the process of being enabled
17       */
18      ENABLING,
19  
20      /**
21       * The plugin has been enabled
22       */
23      ENABLED,
24  
25      /**
26       * The plugin is in the process of being disabled
27       *
28       * @since 2.8.0
29       */
30      DISABLING,
31  
32      /**
33       * The plugin has been disabled
34       */
35      DISABLED,
36  
37      /**
38       * The plugin has been uninstalled and should be unavailable
39       */
40      UNINSTALLED,
41  
42      /**
43       * A marker value to indicate that a state change is pending.
44       *
45       * This is not an actual plugin state, and is not returned by {@link Plugin#getPluginState()}. It is used by helper
46       * functions returning PluginState to report special cases.
47       *
48       * @since 3.0.21
49       */
50      PENDING
51  }