org.openflow.protocol.statistics
Enum OFGroupFeatures.OFGroupCapabilities
java.lang.Object
   java.lang.Enum<OFGroupFeatures.OFGroupCapabilities>
java.lang.Enum<OFGroupFeatures.OFGroupCapabilities>
       org.openflow.protocol.statistics.OFGroupFeatures.OFGroupCapabilities
org.openflow.protocol.statistics.OFGroupFeatures.OFGroupCapabilities
- All Implemented Interfaces: 
- java.io.Serializable, java.lang.Comparable<OFGroupFeatures.OFGroupCapabilities>
- Enclosing class:
- OFGroupFeatures
- public static enum OFGroupFeatures.OFGroupCapabilities 
- extends java.lang.Enum<OFGroupFeatures.OFGroupCapabilities>
 
| Field Summary | 
| protected  int | value
 | 
 
 
| Methods inherited from class java.lang.Enum | 
| clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf | 
 
| Methods inherited from class java.lang.Object | 
| getClass, notify, notifyAll, wait, wait, wait | 
 
OFPGFC_SELECT_WEIGHT
public static final OFGroupFeatures.OFGroupCapabilities OFPGFC_SELECT_WEIGHT
OFPGFC_SELECT_LIVENESS
public static final OFGroupFeatures.OFGroupCapabilities OFPGFC_SELECT_LIVENESS
OFPGFC_CHAINING
public static final OFGroupFeatures.OFGroupCapabilities OFPGFC_CHAINING
OFPGFC_CHAINING_CHECKS
public static final OFGroupFeatures.OFGroupCapabilities OFPGFC_CHAINING_CHECKS
value
protected int value
values
public static OFGroupFeatures.OFGroupCapabilities[] 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 (OFGroupFeatures.OFGroupCapabilities c : OFGroupFeatures.OFGroupCapabilities.values())
    System.out.println(c);
 
 
- 
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
 
valueOf
public static OFGroupFeatures.OFGroupCapabilities 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 name
- java.lang.NullPointerException- if the argument is null
 
valueOf
public static java.util.EnumSet<OFGroupFeatures.OFGroupCapabilities> valueOf(int i)
- Given a group capabilities short value, return the set of OFGroupCapabilities enums
 associated with it
 
- 
- Parameters:
- i- capabilities bitmap
- Returns:
- EnumSet
 
toBitmap
public static int toBitmap(java.util.Set<OFGroupFeatures.OFGroupCapabilities> capabilities)
- Given a set of OFGroupCapabilities enums, convert to bitmap value
 
- 
- Parameters:
- capabilities- Set
- Returns:
- bitmap value
 
getValue
public int getValue()
- 
- Returns:
- the value