public static enum Demand.IntendedRecoveryType extends Enum<Demand.IntendedRecoveryType>
Enum Constant and Description |
---|
NONE
No reaction to failures to any route of the demand
|
NOTSPECIFIED
This information is not specified
|
PROTECTION_NOREVERT
To carry the traffic, first the primary is tried, then the backup routes in order.
|
PROTECTION_REVERT
To carry the traffic, first the primary is tried, then the backup routes in order.
|
RESTORATION
An attempt is made to reroute the failed lightpaths of the demand (backup or not, but this makes sense when the routes have no backup)
|
UNKNOWNTYPE
When read from a file, an unknown type was read
|
Modifier and Type | Method and Description |
---|---|
static Demand.IntendedRecoveryType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Demand.IntendedRecoveryType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Demand.IntendedRecoveryType NONE
public static final Demand.IntendedRecoveryType NOTSPECIFIED
public static final Demand.IntendedRecoveryType PROTECTION_NOREVERT
public static final Demand.IntendedRecoveryType PROTECTION_REVERT
public static final Demand.IntendedRecoveryType RESTORATION
public static final Demand.IntendedRecoveryType UNKNOWNTYPE
public static Demand.IntendedRecoveryType 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 nullpublic static Demand.IntendedRecoveryType[] values()
for (Demand.IntendedRecoveryType c : Demand.IntendedRecoveryType.values()) System.out.println(c);
Copyright © 2018. All rights reserved.