Package org.onosproject.net.group
Enum Group.GroupState
- java.lang.Object
-
- java.lang.Enum<Group.GroupState>
-
- org.onosproject.net.group.Group.GroupState
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Group.GroupState>
- Enclosing interface:
- Group
public static enum Group.GroupState extends java.lang.Enum<Group.GroupState>
State of the group object in ONOS.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADDED
Group is created in the data plane.PENDING_ADD
Group create request is processed by ONOS and not yet received the confirmation from data plane.PENDING_ADD_RETRY
Group is missing in data plane and retrying GROUP ADD request.PENDING_DELETE
Group delete request is processed by ONOS and not received the confirmation from data plane.PENDING_UPDATE
Group update request is processed by ONOS and not received the confirmation from data plane post which state moves to ADDED state.WAITING_AUDIT_COMPLETE
Group create request is queued as group AUDIT is in progress.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Group.GroupState
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Group.GroupState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WAITING_AUDIT_COMPLETE
public static final Group.GroupState WAITING_AUDIT_COMPLETE
Group create request is queued as group AUDIT is in progress.
-
PENDING_ADD
public static final Group.GroupState PENDING_ADD
Group create request is processed by ONOS and not yet received the confirmation from data plane.
-
PENDING_ADD_RETRY
public static final Group.GroupState PENDING_ADD_RETRY
Group is missing in data plane and retrying GROUP ADD request.
-
ADDED
public static final Group.GroupState ADDED
Group is created in the data plane.
-
PENDING_UPDATE
public static final Group.GroupState PENDING_UPDATE
Group update request is processed by ONOS and not received the confirmation from data plane post which state moves to ADDED state.
-
PENDING_DELETE
public static final Group.GroupState PENDING_DELETE
Group delete request is processed by ONOS and not received the confirmation from data plane.
-
-
Method Detail
-
values
public static Group.GroupState[] 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 (Group.GroupState c : Group.GroupState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Group.GroupState 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
-
-