Package org.onosproject.net.group
Enum GroupEvent.Type
- java.lang.Object
-
- java.lang.Enum<GroupEvent.Type>
-
- org.onosproject.net.group.GroupEvent.Type
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<GroupEvent.Type>
- Enclosing class:
- GroupEvent
public static enum GroupEvent.Type extends java.lang.Enum<GroupEvent.Type>
Type of flow rule events.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description GROUP_ADD_FAILED
Signifies that a request to create Group has failed.GROUP_ADD_REQUESTED
GROUP_ADDED
Signifies that a new Group has been detected.GROUP_BUCKET_FAILOVER
Signifies change in the first live bucket in failover group (i.e.GROUP_REMOVE_FAILED
Signifies that a request to remove Group has failed.GROUP_REMOVE_REQUESTED
GROUP_REMOVED
Signifies that a Group has been removed.GROUP_UPDATE_FAILED
Signifies that a request to update Group has failed.GROUP_UPDATE_REQUESTED
GROUP_UPDATED
Signifies that a Group has been updated.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GroupEvent.Type
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static GroupEvent.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GROUP_ADDED
public static final GroupEvent.Type GROUP_ADDED
Signifies that a new Group has been detected.
-
GROUP_REMOVED
public static final GroupEvent.Type GROUP_REMOVED
Signifies that a Group has been removed.
-
GROUP_UPDATED
public static final GroupEvent.Type GROUP_UPDATED
Signifies that a Group has been updated.
-
GROUP_ADD_FAILED
public static final GroupEvent.Type GROUP_ADD_FAILED
Signifies that a request to create Group has failed.
-
GROUP_REMOVE_FAILED
public static final GroupEvent.Type GROUP_REMOVE_FAILED
Signifies that a request to remove Group has failed.
-
GROUP_UPDATE_FAILED
public static final GroupEvent.Type GROUP_UPDATE_FAILED
Signifies that a request to update Group has failed.
-
GROUP_BUCKET_FAILOVER
public static final GroupEvent.Type GROUP_BUCKET_FAILOVER
Signifies change in the first live bucket in failover group (i.e. change in which bucket is in use). Only to be used with failover Group.
-
GROUP_ADD_REQUESTED
public static final GroupEvent.Type GROUP_ADD_REQUESTED
-
GROUP_UPDATE_REQUESTED
public static final GroupEvent.Type GROUP_UPDATE_REQUESTED
-
GROUP_REMOVE_REQUESTED
public static final GroupEvent.Type GROUP_REMOVE_REQUESTED
-
-
Method Detail
-
values
public static GroupEvent.Type[] 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 (GroupEvent.Type c : GroupEvent.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GroupEvent.Type 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
-
-