Package org.openstack4j.model.telemetry
Enum Alarm.AlarmChange.ChangeType
- java.lang.Object
-
- java.lang.Enum<Alarm.AlarmChange.ChangeType>
-
- org.openstack4j.model.telemetry.Alarm.AlarmChange.ChangeType
-
- All Implemented Interfaces:
Serializable,Comparable<Alarm.AlarmChange.ChangeType>
- Enclosing interface:
- Alarm.AlarmChange
public static enum Alarm.AlarmChange.ChangeType extends Enum<Alarm.AlarmChange.ChangeType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CREATIONDELETIONRULE_CHANGESTATE_TRANSITIONUNRECOGNIZED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Alarm.AlarmChange.ChangeTypefromValue(String type)StringtoString()Stringvalue()static Alarm.AlarmChange.ChangeTypevalueOf(String name)Returns the enum constant of this type with the specified name.static Alarm.AlarmChange.ChangeType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CREATION
public static final Alarm.AlarmChange.ChangeType CREATION
-
RULE_CHANGE
public static final Alarm.AlarmChange.ChangeType RULE_CHANGE
-
STATE_TRANSITION
public static final Alarm.AlarmChange.ChangeType STATE_TRANSITION
-
DELETION
public static final Alarm.AlarmChange.ChangeType DELETION
-
UNRECOGNIZED
public static final Alarm.AlarmChange.ChangeType UNRECOGNIZED
-
-
Method Detail
-
values
public static Alarm.AlarmChange.ChangeType[] 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 (Alarm.AlarmChange.ChangeType c : Alarm.AlarmChange.ChangeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Alarm.AlarmChange.ChangeType 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
-
fromValue
public static Alarm.AlarmChange.ChangeType fromValue(String type)
-
value
public String value()
-
toString
public String toString()
- Overrides:
toStringin classEnum<Alarm.AlarmChange.ChangeType>
-
-