public enum PcepLabelOp extends Enum<PcepLabelOp>
| Enum Constant and Description |
|---|
ADD
Signifies that the label operation is addition.
|
MODIFY
Signifies that the label operation is modification.
|
REMOVE
Signifies that the label operation is deletion.
|
| Modifier and Type | Method and Description |
|---|---|
static PcepLabelOp |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PcepLabelOp[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PcepLabelOp ADD
public static final PcepLabelOp MODIFY
public static final PcepLabelOp REMOVE
public static PcepLabelOp[] values()
for (PcepLabelOp c : PcepLabelOp.values()) System.out.println(c);
public static PcepLabelOp 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