public static enum PcepTunnel.Type extends Enum<PcepTunnel.Type>
| Enum Constant and Description |
|---|
OCH
Signifies that this is a L0 OCH tunnel.
|
OTN
Signifies that this is a L1 OTN tunnel.
|
UNI
Signifies that this is a L2 tunnel.
|
| Modifier and Type | Method and Description |
|---|---|
static PcepTunnel.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PcepTunnel.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PcepTunnel.Type OCH
public static final PcepTunnel.Type OTN
public static final PcepTunnel.Type UNI
public static PcepTunnel.Type[] values()
for (PcepTunnel.Type c : PcepTunnel.Type.values()) System.out.println(c);
public static PcepTunnel.Type 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