public enum PortState extends Enum<PortState>
Enum Constant and Description |
---|
ACTIVE |
BUILD |
DOWN |
ERROR |
UNRECOGNIZED |
Modifier and Type | Method and Description |
---|---|
static PortState |
forValue(String value) |
static PortState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PortState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PortState ACTIVE
public static final PortState DOWN
public static final PortState BUILD
public static final PortState ERROR
public static final PortState UNRECOGNIZED
public static PortState[] values()
for (PortState c : PortState.values()) System.out.println(c);
public static PortState 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 nullCopyright © 2017. All rights reserved.