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>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DISABLE_COLLECTION
DISABLE_SNMP_POLL
DO_NOT_PERSIST
ENABLE_COLLECTION
ENABLE_SNMP_POLL
MANAGE
UNMANAGE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MatchingIpInterfacePolicy.Action
valueOf(String name)
Returns the enum constant of this type with the specified name.static MatchingIpInterfacePolicy.Action[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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
-
-
Method Detail
-
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 nameNullPointerException
- if the argument is null
-
-