Package org.onosproject.net.group
Enum GroupOperation.GroupMsgErrorCode
- java.lang.Object
-
- java.lang.Enum<GroupOperation.GroupMsgErrorCode>
-
- org.onosproject.net.group.GroupOperation.GroupMsgErrorCode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<GroupOperation.GroupMsgErrorCode>
- Enclosing class:
- GroupOperation
public static enum GroupOperation.GroupMsgErrorCode extends java.lang.Enum<GroupOperation.GroupMsgErrorCode>
Possible error codes for a failure of a group operation.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BAD_BUCKET
BAD_COMMAND
BAD_TYPE
BAD_WATCH
CHAINED_GROUP
CHAINING_UNSUPPORTED
EPERM
GROUP_EXISTS
INVALID_GROUP
LOOP
OUT_OF_BUCKETS
OUT_OF_GROUPS
UNKNOWN_GROUP
WATCH_UNSUPPORTED
WEIGHT_UNSUPPORTED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GroupOperation.GroupMsgErrorCode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static GroupOperation.GroupMsgErrorCode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GROUP_EXISTS
public static final GroupOperation.GroupMsgErrorCode GROUP_EXISTS
-
INVALID_GROUP
public static final GroupOperation.GroupMsgErrorCode INVALID_GROUP
-
WEIGHT_UNSUPPORTED
public static final GroupOperation.GroupMsgErrorCode WEIGHT_UNSUPPORTED
-
OUT_OF_GROUPS
public static final GroupOperation.GroupMsgErrorCode OUT_OF_GROUPS
-
OUT_OF_BUCKETS
public static final GroupOperation.GroupMsgErrorCode OUT_OF_BUCKETS
-
CHAINING_UNSUPPORTED
public static final GroupOperation.GroupMsgErrorCode CHAINING_UNSUPPORTED
-
WATCH_UNSUPPORTED
public static final GroupOperation.GroupMsgErrorCode WATCH_UNSUPPORTED
-
LOOP
public static final GroupOperation.GroupMsgErrorCode LOOP
-
UNKNOWN_GROUP
public static final GroupOperation.GroupMsgErrorCode UNKNOWN_GROUP
-
CHAINED_GROUP
public static final GroupOperation.GroupMsgErrorCode CHAINED_GROUP
-
BAD_TYPE
public static final GroupOperation.GroupMsgErrorCode BAD_TYPE
-
BAD_COMMAND
public static final GroupOperation.GroupMsgErrorCode BAD_COMMAND
-
BAD_BUCKET
public static final GroupOperation.GroupMsgErrorCode BAD_BUCKET
-
BAD_WATCH
public static final GroupOperation.GroupMsgErrorCode BAD_WATCH
-
EPERM
public static final GroupOperation.GroupMsgErrorCode EPERM
-
-
Method Detail
-
values
public static GroupOperation.GroupMsgErrorCode[] 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 (GroupOperation.GroupMsgErrorCode c : GroupOperation.GroupMsgErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GroupOperation.GroupMsgErrorCode 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
-
-