public static enum PcepTunnel.Ability extends Enum<PcepTunnel.Ability>
| Enum Constant and Description |
|---|
DIAMOND
tunnel with 1 + 1 rerouter ability.if a tunnel is broken, there'll be
another tunnel providing service at once.
|
NOPROTECTED
no protected tunnel,if the tunnel is broken ,then the user is out of
service.
|
SILVER
tunnel with rerouter ability.if a tunnel is broken, the tunnel will
try to find another path to provider service.
|
| Modifier and Type | Method and Description |
|---|---|
static PcepTunnel.Ability |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PcepTunnel.Ability[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PcepTunnel.Ability NOPROTECTED
public static final PcepTunnel.Ability SILVER
public static final PcepTunnel.Ability DIAMOND
public static PcepTunnel.Ability[] values()
for (PcepTunnel.Ability c : PcepTunnel.Ability.values()) System.out.println(c);
public static PcepTunnel.Ability 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