1 package com.atlassian.plugin;
2
3 /**
4 * The state of the plugin after restart. This value indicates the action that will be performed for plugins that
5 * cannot be installed, upgraded, or removed at runtime due to the {@link com.atlassian.plugin.descriptors.RequiresRestart @RequiresRestart} annotation on a used module
6 * descriptor.
7 *
8 * @since 2.2.0
9 */
10 public enum PluginRestartState {
11 /**
12 * Indicates an installation will be performed
13 */
14 INSTALL,
15
16 /**
17 * Indicates an upgrade will be performed
18 */
19 UPGRADE,
20
21 /**
22 * Indicates the plugin will be removed
23 */
24 REMOVE,
25
26 /**
27 * Indicates no change upon restart
28 */
29 NONE
30 }