Enum AlarmFeedback.FeedbackType
- java.lang.Object
-
- java.lang.Enum<AlarmFeedback.FeedbackType>
-
- org.opennms.features.situationfeedback.api.AlarmFeedback.FeedbackType
-
- All Implemented Interfaces:
Serializable
,Comparable<AlarmFeedback.FeedbackType>
- Enclosing class:
- AlarmFeedback
public static enum AlarmFeedback.FeedbackType extends Enum<AlarmFeedback.FeedbackType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CORRECT
CREATE_SITUATION
FALSE_NEGATIVE
FALSE_POSITIVE
UNKNOWN
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AlarmFeedback.FeedbackType
valueOf(String name)
Returns the enum constant of this type with the specified name.static AlarmFeedback.FeedbackType
valueOfOrUnknown(String type)
static AlarmFeedback.FeedbackType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FALSE_POSITIVE
public static final AlarmFeedback.FeedbackType FALSE_POSITIVE
-
FALSE_NEGATIVE
public static final AlarmFeedback.FeedbackType FALSE_NEGATIVE
-
CREATE_SITUATION
public static final AlarmFeedback.FeedbackType CREATE_SITUATION
-
CORRECT
public static final AlarmFeedback.FeedbackType CORRECT
-
UNKNOWN
public static final AlarmFeedback.FeedbackType UNKNOWN
-
-
Method Detail
-
values
public static AlarmFeedback.FeedbackType[] 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 (AlarmFeedback.FeedbackType c : AlarmFeedback.FeedbackType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AlarmFeedback.FeedbackType 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
-
valueOfOrUnknown
public static AlarmFeedback.FeedbackType valueOfOrUnknown(String type)
-
-