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