org.opennms.netmgt.provision.persist.policies
Enum MatchingIpInterfacePolicy.Action
java.lang.Object
java.lang.Enum<MatchingIpInterfacePolicy.Action>
org.opennms.netmgt.provision.persist.policies.MatchingIpInterfacePolicy.Action
- All Implemented Interfaces:
- Serializable, Comparable<MatchingIpInterfacePolicy.Action>
- Enclosing class:
- MatchingIpInterfacePolicy
public static enum MatchingIpInterfacePolicy.Action
- extends Enum<MatchingIpInterfacePolicy.Action>
MANAGE
public static final MatchingIpInterfacePolicy.Action MANAGE
UNMANAGE
public static final MatchingIpInterfacePolicy.Action UNMANAGE
DO_NOT_PERSIST
public static final MatchingIpInterfacePolicy.Action DO_NOT_PERSIST
ENABLE_SNMP_POLL
public static final MatchingIpInterfacePolicy.Action ENABLE_SNMP_POLL
DISABLE_SNMP_POLL
public static final MatchingIpInterfacePolicy.Action DISABLE_SNMP_POLL
ENABLE_COLLECTION
public static final MatchingIpInterfacePolicy.Action ENABLE_COLLECTION
DISABLE_COLLECTION
public static final MatchingIpInterfacePolicy.Action DISABLE_COLLECTION
values
public static MatchingIpInterfacePolicy.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 (MatchingIpInterfacePolicy.Action c : MatchingIpInterfacePolicy.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 MatchingIpInterfacePolicy.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.