public static enum SwitchPort.ErrorStatus extends Enum<SwitchPort.ErrorStatus>
| Enum Constant and Description |
|---|
DUPLICATE_DEVICE |
| Modifier and Type | Method and Description |
|---|---|
static SwitchPort.ErrorStatus |
fromString(String str) |
String |
toString() |
static SwitchPort.ErrorStatus |
valueOf(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(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 String toString()
toString in class Enum<SwitchPort.ErrorStatus>public static SwitchPort.ErrorStatus fromString(String str)
Copyright © 2015. All Rights Reserved.