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