public static enum PcepTunnel.PathType extends Enum<PcepTunnel.PathType>
| Enum Constant and Description |
|---|
FIRST
Indicates path is the preferred path.
|
SECOND
Indicates path is the alternate path.
|
| Modifier and Type | Method and Description |
|---|---|
static PcepTunnel.PathType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PcepTunnel.PathType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PcepTunnel.PathType FIRST
public static final PcepTunnel.PathType SECOND
public static PcepTunnel.PathType[] values()
for (PcepTunnel.PathType c : PcepTunnel.PathType.values()) System.out.println(c);
public static PcepTunnel.PathType 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