public static enum PortInterface.State extends Enum<PortInterface.State>
Enum Constant and Description |
---|
ACTIVE |
PROVISIONING |
QUEUED |
Modifier and Type | Method and Description |
---|---|
static PortInterface.State |
fromValue(String value) |
static PortInterface.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PortInterface.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PortInterface.State PROVISIONING
public static final PortInterface.State QUEUED
public static final PortInterface.State ACTIVE
public static PortInterface.State[] values()
for (PortInterface.State c : PortInterface.State.values()) System.out.println(c);
public static PortInterface.State 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 PortInterface.State fromValue(String value)
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.