Package org.opennms.web.filter
Enum NormalizedAcknowledgeType
- java.lang.Object
-
- java.lang.Enum<NormalizedAcknowledgeType>
-
- org.opennms.web.filter.NormalizedAcknowledgeType
-
- All Implemented Interfaces:
Serializable
,Comparable<NormalizedAcknowledgeType>
public enum NormalizedAcknowledgeType extends Enum<NormalizedAcknowledgeType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACKNOWLEDGED
BOTH
UNACKNOWLEDGED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NormalizedAcknowledgeType
createFrom(AcknowledgeType alarmAckType)
static NormalizedAcknowledgeType
createFrom(AcknowledgeType eventAckType)
String
getShortName()
static NormalizedAcknowledgeType
valueOf(String name)
Returns the enum constant of this type with the specified name.static NormalizedAcknowledgeType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACKNOWLEDGED
public static final NormalizedAcknowledgeType ACKNOWLEDGED
-
UNACKNOWLEDGED
public static final NormalizedAcknowledgeType UNACKNOWLEDGED
-
BOTH
public static final NormalizedAcknowledgeType BOTH
-
-
Method Detail
-
values
public static NormalizedAcknowledgeType[] 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 (NormalizedAcknowledgeType c : NormalizedAcknowledgeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NormalizedAcknowledgeType 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
-
createFrom
public static NormalizedAcknowledgeType createFrom(AcknowledgeType eventAckType)
-
createFrom
public static NormalizedAcknowledgeType createFrom(AcknowledgeType alarmAckType)
-
getShortName
public String getShortName()
-
-