Enum Change.ChangeCategory
- java.lang.Object
-
- java.lang.Enum<Change.ChangeCategory>
-
- org.glassfish.hk2.configuration.hub.api.Change.ChangeCategory
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Change.ChangeCategory>
- Enclosing interface:
- Change
public static enum Change.ChangeCategory extends java.lang.Enum<Change.ChangeCategory>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADD_INSTANCE
An instance of a type was addedADD_TYPE
A type was addedMODIFY_INSTANCE
An instance of a type was modifiedREMOVE_INSTANCE
An instance of a type was removedREMOVE_TYPE
A type was removed
-
Constructor Summary
Constructors Modifier Constructor Description private
ChangeCategory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Change.ChangeCategory
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Change.ChangeCategory[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REMOVE_TYPE
public static final Change.ChangeCategory REMOVE_TYPE
A type was removed
-
ADD_TYPE
public static final Change.ChangeCategory ADD_TYPE
A type was added
-
ADD_INSTANCE
public static final Change.ChangeCategory ADD_INSTANCE
An instance of a type was added
-
REMOVE_INSTANCE
public static final Change.ChangeCategory REMOVE_INSTANCE
An instance of a type was removed
-
MODIFY_INSTANCE
public static final Change.ChangeCategory MODIFY_INSTANCE
An instance of a type was modified
-
-
Method Detail
-
values
public static Change.ChangeCategory[] 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 (Change.ChangeCategory c : Change.ChangeCategory.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Change.ChangeCategory valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-