org.opennms.netmgt.provision.persist.policies
Enum MatchingIpInterfacePolicy.Action

java.lang.Object
  extended by java.lang.Enum<MatchingIpInterfacePolicy.Action>
      extended by 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
DISABLE_COLLECTION
           
DISABLE_SNMP_POLL
           
DO_NOT_PERSIST
           
ENABLE_COLLECTION
           
ENABLE_SNMP_POLL
           
MANAGE
           
UNMANAGE
           
 
Method Summary
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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 name
NullPointerException - if the argument is null


Copyright © 2011. All Rights Reserved.