public enum PortState extends Enum<PortState>
Enum Constant and Description |
---|
ACTIVE |
BUILD |
DOWN |
ERROR |
UNRECOGNIZED
Used by jclouds when the service returns an unknown value other than null.
|
Modifier and Type | Method and Description |
---|---|
static PortState |
fromValue(String name)
This provides GSON enum support in jclouds.
|
String |
toString() |
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 © 2009-2016 The Apache Software Foundation. All Rights Reserved.