|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<PluginRestartState>
com.atlassian.plugin.PluginRestartState
public enum PluginRestartState
The state of the plugin after restart. This value indicates the action that will be performed for plugins that
cannot be installed, upgraded, or removed at runtime due to the @RequiresRestart annotation on a used module
descriptor.
| Enum Constant Summary | |
|---|---|
INSTALL
Indicates an installation will be performed |
|
NONE
Indicates no change upon restart |
|
REMOVE
Indicates the plugin will be removed |
|
UPGRADE
Indicates an upgrade will be performed |
|
| Method Summary | |
|---|---|
static PluginRestartState |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static PluginRestartState[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final PluginRestartState INSTALL
public static final PluginRestartState UPGRADE
public static final PluginRestartState REMOVE
public static final PluginRestartState NONE
| Method Detail |
|---|
public static PluginRestartState[] values()
for (PluginRestartState c : PluginRestartState.values()) System.out.println(c);
public static PluginRestartState valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||