Enum MDSALUtil.MdsalOp
- java.lang.Object
-
- java.lang.Enum<MDSALUtil.MdsalOp>
-
- org.opendaylight.genius.mdsalutil.MDSALUtil.MdsalOp
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<MDSALUtil.MdsalOp>
- Enclosing class:
- MDSALUtil
public static enum MDSALUtil.MdsalOp extends java.lang.Enum<MDSALUtil.MdsalOp>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CREATION_OP
REMOVAL_OP
UPDATE_OP
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MDSALUtil.MdsalOp
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static MDSALUtil.MdsalOp[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CREATION_OP
public static final MDSALUtil.MdsalOp CREATION_OP
-
UPDATE_OP
public static final MDSALUtil.MdsalOp UPDATE_OP
-
REMOVAL_OP
public static final MDSALUtil.MdsalOp REMOVAL_OP
-
-
Method Detail
-
values
public static MDSALUtil.MdsalOp[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (MDSALUtil.MdsalOp c : MDSALUtil.MdsalOp.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MDSALUtil.MdsalOp valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-