public static enum SwitchPort.ErrorStatus extends java.lang.Enum<SwitchPort.ErrorStatus>
| Enum Constant and Description | 
|---|
DUPLICATE_DEVICE  | 
| Modifier and Type | Field and Description | 
|---|---|
private java.lang.String | 
value  | 
| Modifier and Type | Method and Description | 
|---|---|
static SwitchPort.ErrorStatus | 
fromString(java.lang.String str)  | 
java.lang.String | 
toString()  | 
static SwitchPort.ErrorStatus | 
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. 
 | 
static SwitchPort.ErrorStatus[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final SwitchPort.ErrorStatus DUPLICATE_DEVICE
public static SwitchPort.ErrorStatus[] values()
for (SwitchPort.ErrorStatus c : SwitchPort.ErrorStatus.values()) System.out.println(c);
public static SwitchPort.ErrorStatus valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String toString()
toString in class java.lang.Enum<SwitchPort.ErrorStatus>public static SwitchPort.ErrorStatus fromString(java.lang.String str)