- java.lang.Object
-
- java.lang.Enum<ChangeEventType>
-
- io.helidon.config.spi.ChangeEventType
-
- All Implemented Interfaces:
Serializable
,Comparable<ChangeEventType>
public enum ChangeEventType extends Enum<ChangeEventType>
Type of changes that can happen in aPollingStrategy.Polled
components. ThePollingStrategy
may use this information to modify its behavior.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ChangeEventType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ChangeEventType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNCHANGED
public static final ChangeEventType UNCHANGED
Nothing is changed.
-
CHANGED
public static final ChangeEventType CHANGED
The content is modified.
-
DELETED
public static final ChangeEventType DELETED
The content is not present.
-
CREATED
public static final ChangeEventType CREATED
The content is now present (was deleted).
-
-
Method Detail
-
values
public static ChangeEventType[] 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 (ChangeEventType c : ChangeEventType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ChangeEventType 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
-
-