org.openflow.protocol
Enum OFTable.OFTableConfig

java.lang.Object
  extended by java.lang.Enum<OFTable.OFTableConfig>
      extended by org.openflow.protocol.OFTable.OFTableConfig
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<OFTable.OFTableConfig>
Enclosing class:
OFTable

public static enum OFTable.OFTableConfig
extends java.lang.Enum<OFTable.OFTableConfig>


Enum Constant Summary
OFPTC_DEPRECATED_MASK
           
 
Field Summary
protected  int value
           
 
Method Summary
 int getValue()
           
static int toBitmap(java.util.Set<OFTable.OFTableConfig> configs)
          Given a set of OFTableConfig enums, convert to bitmap value
static java.util.EnumSet<OFTable.OFTableConfig> valueOf(int i)
          Given a table config value, return the set of OFTableConfig enums associated with it
static OFTable.OFTableConfig valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static OFTable.OFTableConfig[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
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
 

Enum Constant Detail

OFPTC_DEPRECATED_MASK

public static final OFTable.OFTableConfig OFPTC_DEPRECATED_MASK
Field Detail

value

protected int value
Method Detail

values

public static OFTable.OFTableConfig[] 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 (OFTable.OFTableConfig c : OFTable.OFTableConfig.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static OFTable.OFTableConfig 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<OFTable.OFTableConfig> valueOf(int i)
Given a table config value, return the set of OFTableConfig enums associated with it

Parameters:
i - table config bitmap
Returns:
EnumSet

toBitmap

public static int toBitmap(java.util.Set<OFTable.OFTableConfig> configs)
Given a set of OFTableConfig enums, convert to bitmap value

Parameters:
configs - Set
Returns:
bitmap value

getValue

public int getValue()
Returns:
the value