public enum PluginRestartState extends Enum<PluginRestartState>
@RequiresRestart annotation on a used module
descriptor.| Enum Constant and Description |
|---|
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
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public static final PluginRestartState INSTALL
public static final PluginRestartState UPGRADE
public static final PluginRestartState REMOVE
public static final PluginRestartState NONE
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 nameNullPointerException - if the argument is nullCopyright © 2014 Atlassian. All rights reserved.