public enum InterfaceStatus extends Enum<InterfaceStatus>
Modifier and Type | Method and Description |
---|---|
static InterfaceStatus |
forValue(int value) |
int |
getValue() |
static InterfaceStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InterfaceStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InterfaceStatus None
public static final InterfaceStatus Up
public static final InterfaceStatus Down
public static InterfaceStatus[] values()
for (InterfaceStatus c : InterfaceStatus.values()) System.out.println(c);
public static InterfaceStatus 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 getValue()
public static InterfaceStatus forValue(int value)
Copyright © 2012. All Rights Reserved.