Package org.onosproject.net.group
Enum GroupStore.UpdateType
- java.lang.Object
-
- java.lang.Enum<GroupStore.UpdateType>
-
- org.onosproject.net.group.GroupStore.UpdateType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<GroupStore.UpdateType>
- Enclosing interface:
- GroupStore
public static enum GroupStore.UpdateType extends java.lang.Enum<GroupStore.UpdateType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADD
Modify existing group entry by adding provided information.REMOVE
Modify existing group by removing provided information from it.SET
Modify existing group entry by setting the provided information, overwriting the previous group entry entirely.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GroupStore.UpdateType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static GroupStore.UpdateType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADD
public static final GroupStore.UpdateType ADD
Modify existing group entry by adding provided information.
-
REMOVE
public static final GroupStore.UpdateType REMOVE
Modify existing group by removing provided information from it.
-
SET
public static final GroupStore.UpdateType SET
Modify existing group entry by setting the provided information, overwriting the previous group entry entirely.
-
-
Method Detail
-
values
public static GroupStore.UpdateType[] 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 (GroupStore.UpdateType c : GroupStore.UpdateType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GroupStore.UpdateType 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
-
-