Package org.opennms.netmgt.xml.eventconf
Enum LogDestType
- java.lang.Object
-
- java.lang.Enum<LogDestType>
-
- org.opennms.netmgt.xml.eventconf.LogDestType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<LogDestType>
public enum LogDestType extends java.lang.Enum<LogDestType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DISCARDTRAPS
DISPLAYONLY
DONOTPERSIST
LOGNDISPLAY
LOGONLY
SUPPRESS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
static LogDestType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static LogDestType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LOGNDISPLAY
public static final LogDestType LOGNDISPLAY
-
DISPLAYONLY
public static final LogDestType DISPLAYONLY
-
LOGONLY
public static final LogDestType LOGONLY
-
SUPPRESS
public static final LogDestType SUPPRESS
-
DONOTPERSIST
public static final LogDestType DONOTPERSIST
-
DISCARDTRAPS
public static final LogDestType DISCARDTRAPS
-
-
Method Detail
-
values
public static LogDestType[] 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 (LogDestType c : LogDestType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LogDestType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<LogDestType>
-
-