public enum SnmpInterfaceStatus extends Enum<SnmpInterfaceStatus>
Enum Constant and Description |
---|
DORMANT |
DOWN |
INVALID |
LOWER_LAYER_DOWN |
NOT_PRESENT |
TESTING |
UNKNOWN |
UP |
Modifier and Type | Field and Description |
---|---|
String |
m_label |
int |
m_mibValue |
Modifier and Type | Method and Description |
---|---|
String |
getLabel() |
int |
getMibValue() |
static Set<SnmpInterfaceStatus> |
getStatuses(int[] statuses) |
static String |
labelFromMibValue(int mibValue) |
static SnmpInterfaceStatus |
statusFromMibValue(int mibValue) |
static SnmpInterfaceStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SnmpInterfaceStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SnmpInterfaceStatus INVALID
public static final SnmpInterfaceStatus UP
public static final SnmpInterfaceStatus DOWN
public static final SnmpInterfaceStatus TESTING
public static final SnmpInterfaceStatus UNKNOWN
public static final SnmpInterfaceStatus DORMANT
public static final SnmpInterfaceStatus NOT_PRESENT
public static final SnmpInterfaceStatus LOWER_LAYER_DOWN
public final int m_mibValue
public final String m_label
public static SnmpInterfaceStatus[] values()
for (SnmpInterfaceStatus c : SnmpInterfaceStatus.values()) System.out.println(c);
public static SnmpInterfaceStatus 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 int getMibValue()
public String getLabel()
public static SnmpInterfaceStatus statusFromMibValue(int mibValue)
public static String labelFromMibValue(int mibValue)
public static Set<SnmpInterfaceStatus> getStatuses(int[] statuses)
Copyright © 2022. All rights reserved.