Package org.killbill.billing.osgi.api
Enum PluginStateChange
- java.lang.Object
-
- java.lang.Enum<PluginStateChange>
-
- org.killbill.billing.osgi.api.PluginStateChange
-
- All Implemented Interfaces:
Serializable,Comparable<PluginStateChange>
public enum PluginStateChange extends Enum<PluginStateChange>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DISABLEDThe plugin was disabledNEW_VERSIONThe new version is used to indicate that a new version of a given plugin has been installed on the filesystem (and ACTIVE link points to it).
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PluginStateChangevalueOf(String name)Returns the enum constant of this type with the specified name.static PluginStateChange[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NEW_VERSION
public static final PluginStateChange NEW_VERSION
The new version is used to indicate that a new version of a given plugin has been installed on the filesystem (and ACTIVE link points to it).
-
DISABLED
public static final PluginStateChange DISABLED
The plugin was disabled
-
-
Method Detail
-
values
public static PluginStateChange[] 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 (PluginStateChange c : PluginStateChange.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PluginStateChange 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
-
-