org.opennms.netmgt.provision.persist.policies
Enum MatchingSnmpInterfacePolicy.Action
java.lang.Object
java.lang.Enum<MatchingSnmpInterfacePolicy.Action>
org.opennms.netmgt.provision.persist.policies.MatchingSnmpInterfacePolicy.Action
- All Implemented Interfaces:
- Serializable, Comparable<MatchingSnmpInterfacePolicy.Action>
- Enclosing class:
- MatchingSnmpInterfacePolicy
public static enum MatchingSnmpInterfacePolicy.Action
- extends Enum<MatchingSnmpInterfacePolicy.Action>
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
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(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 name
NullPointerException - if the argument is null
Copyright © 2011. All Rights Reserved.