public static enum PcepSwitch.DeviceType extends Enum<PcepSwitch.DeviceType>
| Modifier and Type | Method and Description |
|---|---|
static PcepSwitch.DeviceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PcepSwitch.DeviceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PcepSwitch.DeviceType ROADM
public static final PcepSwitch.DeviceType OTN
public static final PcepSwitch.DeviceType ROUTER
public static final PcepSwitch.DeviceType UNKNOW
public static PcepSwitch.DeviceType[] values()
for (PcepSwitch.DeviceType c : PcepSwitch.DeviceType.values()) System.out.println(c);
public static PcepSwitch.DeviceType 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 null