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