Package hudson
Enum PluginWrapper.PluginDisableStatus
- java.lang.Object
-
- java.lang.Enum<PluginWrapper.PluginDisableStatus>
-
- hudson.PluginWrapper.PluginDisableStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<PluginWrapper.PluginDisableStatus>
- Enclosing class:
- PluginWrapper
public static enum PluginWrapper.PluginDisableStatus extends Enum<PluginWrapper.PluginDisableStatus>
An enum to hold the status of a disabling action against a plugin. To do it more reader-friendly.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALREADY_DISABLED
DISABLED
ERROR_DISABLING
NO_SUCH_PLUGIN
NOT_DISABLED_DEPENDANTS
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PluginWrapper.PluginDisableStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static PluginWrapper.PluginDisableStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NO_SUCH_PLUGIN
public static final PluginWrapper.PluginDisableStatus NO_SUCH_PLUGIN
-
DISABLED
public static final PluginWrapper.PluginDisableStatus DISABLED
-
ALREADY_DISABLED
public static final PluginWrapper.PluginDisableStatus ALREADY_DISABLED
-
NOT_DISABLED_DEPENDANTS
public static final PluginWrapper.PluginDisableStatus NOT_DISABLED_DEPENDANTS
-
ERROR_DISABLING
public static final PluginWrapper.PluginDisableStatus ERROR_DISABLING
-
-
Method Detail
-
values
public static PluginWrapper.PluginDisableStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PluginWrapper.PluginDisableStatus c : PluginWrapper.PluginDisableStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PluginWrapper.PluginDisableStatus valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-