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 /**
13 * Indicates an installation will be performed
14 */
15 INSTALL,
16
17 /**
18 * Indicates an upgrade will be performed
19 */
20 UPGRADE,
21
22 /**
23 * Indicates the plugin will be removed
24 */
25 REMOVE,
26
27 /**
28 * Indicates no change upon restart
29 */
30 NONE
31 }