Package org.somda.sdc.biceps.common
Enum MdibStateModifications.Type
- java.lang.Object
-
- java.lang.Enum<MdibStateModifications.Type>
-
- org.somda.sdc.biceps.common.MdibStateModifications.Type
-
- All Implemented Interfaces:
Serializable,Comparable<MdibStateModifications.Type>
- Enclosing class:
- MdibStateModifications
public static enum MdibStateModifications.Type extends Enum<MdibStateModifications.Type>
Change type designation.In accordance to BICEPS a change set can be of one certain base type at a time. BICEPS distinguishes between
- alert changes
- component changes
- context changes
- metric changes
- operation changes
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<? extends StateModificationMessage<?>>getEventMessageClass()static MdibStateModifications.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static MdibStateModifications.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALERT
public static final MdibStateModifications.Type ALERT
-
COMPONENT
public static final MdibStateModifications.Type COMPONENT
-
CONTEXT
public static final MdibStateModifications.Type CONTEXT
-
METRIC
public static final MdibStateModifications.Type METRIC
-
OPERATION
public static final MdibStateModifications.Type OPERATION
-
WAVEFORM
public static final MdibStateModifications.Type WAVEFORM
-
-
Method Detail
-
values
public static MdibStateModifications.Type[] 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 (MdibStateModifications.Type c : MdibStateModifications.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MdibStateModifications.Type 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
-
getEventMessageClass
public Class<? extends StateModificationMessage<?>> getEventMessageClass()
-
-