public static enum WaarpInterfaceMib.TrapLevel extends Enum<WaarpInterfaceMib.TrapLevel>
Enum Constant and Description |
---|
Alert
Trap/Notification up to high alert
|
All
Trap/Notification for all important elements
|
AllEvents
Trap/Notification for all, whatever level
|
None
No Trap/Notification at all
|
StartStop
Trap/Notification only for start and stop
|
Warning
Trap/Notification up to warning alert
|
Modifier and Type | Method and Description |
---|---|
boolean |
isLevelValid(int level) |
static WaarpInterfaceMib.TrapLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WaarpInterfaceMib.TrapLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WaarpInterfaceMib.TrapLevel None
public static final WaarpInterfaceMib.TrapLevel StartStop
public static final WaarpInterfaceMib.TrapLevel Alert
public static final WaarpInterfaceMib.TrapLevel Warning
public static final WaarpInterfaceMib.TrapLevel All
public static final WaarpInterfaceMib.TrapLevel AllEvents
public static WaarpInterfaceMib.TrapLevel[] values()
for (WaarpInterfaceMib.TrapLevel c : WaarpInterfaceMib.TrapLevel.values()) System.out.println(c);
public static WaarpInterfaceMib.TrapLevel valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic boolean isLevelValid(int level)
Copyright © 2009–2020 Waarp. All rights reserved.