Enum MatchingSnmpInterfacePolicy.Action
- java.lang.Object
-
- java.lang.Enum<MatchingSnmpInterfacePolicy.Action>
-
- org.opennms.netmgt.provision.persist.policies.MatchingSnmpInterfacePolicy.Action
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<MatchingSnmpInterfacePolicy.Action>
- Enclosing class:
- MatchingSnmpInterfacePolicy
public static enum MatchingSnmpInterfacePolicy.Action extends java.lang.Enum<MatchingSnmpInterfacePolicy.Action>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DISABLE_COLLECTION
DISABLE_POLLING
DO_NOT_PERSIST
ENABLE_COLLECTION
ENABLE_POLLING
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MatchingSnmpInterfacePolicy.Action
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static MatchingSnmpInterfacePolicy.Action[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ENABLE_COLLECTION
public static final MatchingSnmpInterfacePolicy.Action ENABLE_COLLECTION
-
DISABLE_COLLECTION
public static final MatchingSnmpInterfacePolicy.Action DISABLE_COLLECTION
-
DO_NOT_PERSIST
public static final MatchingSnmpInterfacePolicy.Action DO_NOT_PERSIST
-
ENABLE_POLLING
public static final MatchingSnmpInterfacePolicy.Action ENABLE_POLLING
-
DISABLE_POLLING
public static final MatchingSnmpInterfacePolicy.Action DISABLE_POLLING
-
-
Method Detail
-
values
public static MatchingSnmpInterfacePolicy.Action[] 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 (MatchingSnmpInterfacePolicy.Action c : MatchingSnmpInterfacePolicy.Action.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MatchingSnmpInterfacePolicy.Action 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
-
-