goldengate.snmp.interf
Enum GgInterfaceMib.TrapLevel

java.lang.Object
  extended by java.lang.Enum<GgInterfaceMib.TrapLevel>
      extended by goldengate.snmp.interf.GgInterfaceMib.TrapLevel
All Implemented Interfaces:
Serializable, Comparable<GgInterfaceMib.TrapLevel>
Enclosing interface:
GgInterfaceMib

public static enum GgInterfaceMib.TrapLevel
extends Enum<GgInterfaceMib.TrapLevel>


Enum Constant Summary
Alert
          Trap/Notification up to high alert
All
          Trap/Notification for all important elements
None
          No Trap/Notification at all
StartStop
          Trap/Notification only for start and stop
Warning
          Trap/Notification up to warning alert
 
Method Summary
 boolean isLevelValid(int level)
           
static GgInterfaceMib.TrapLevel valueOf(String name)
          Returns the enum constant of this type with the specified name.
static GgInterfaceMib.TrapLevel[] 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

None

public static final GgInterfaceMib.TrapLevel None
No Trap/Notification at all


StartStop

public static final GgInterfaceMib.TrapLevel StartStop
Trap/Notification only for start and stop


Alert

public static final GgInterfaceMib.TrapLevel Alert
Trap/Notification up to high alert


Warning

public static final GgInterfaceMib.TrapLevel Warning
Trap/Notification up to warning alert


All

public static final GgInterfaceMib.TrapLevel All
Trap/Notification for all important elements

Method Detail

values

public static GgInterfaceMib.TrapLevel[] 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 (GgInterfaceMib.TrapLevel c : GgInterfaceMib.TrapLevel.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static GgInterfaceMib.TrapLevel 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

isLevelValid

public boolean isLevelValid(int level)


Copyright © 2009-2012 Frederic Bregier. All Rights Reserved.