public enum OperStatusEnum extends Enum<OperStatusEnum>
| Enum Constant and Description |
|---|
DORMANT
Represents dormant.
|
DOWN
Represents down.
|
LOWER_LAYER_DOWN
Represents lower-layer-down.
|
NOT_PRESENT
Represents not-present.
|
TESTING
Represents testing.
|
UNKNOWN
Represents unknown.
|
UP
Represents up.
|
| Modifier and Type | Method and Description |
|---|---|
static OperStatusEnum |
of(int value)
Returns the object of operStatusEnum for.
|
static OperStatusEnum |
of(String value)
Returns the object of operStatusEnum for.
|
int |
operStatusEnum()
Returns the attribute operStatusEnum.
|
String |
toString() |
static OperStatusEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OperStatusEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OperStatusEnum UP
public static final OperStatusEnum DOWN
public static final OperStatusEnum TESTING
public static final OperStatusEnum UNKNOWN
public static final OperStatusEnum DORMANT
public static final OperStatusEnum NOT_PRESENT
public static final OperStatusEnum LOWER_LAYER_DOWN
public static OperStatusEnum[] values()
for (OperStatusEnum c : OperStatusEnum.values()) System.out.println(c);
public static OperStatusEnum 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 static OperStatusEnum of(int value)
value - value of operStatusEnum forpublic static OperStatusEnum of(String value)
value - value of operStatusEnum forpublic int operStatusEnum()
public String toString()
toString in class Enum<OperStatusEnum>Copyright © 2018. All rights reserved.