org.openflow.protocol
Enum OFMatchWildcardMask
java.lang.Object
java.lang.Enum<OFMatchWildcardMask>
org.openflow.protocol.OFMatchWildcardMask
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<OFMatchWildcardMask>
public enum OFMatchWildcardMask
- extends java.lang.Enum<OFMatchWildcardMask>
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 |
ALL
public static final OFMatchWildcardMask ALL
IN_PORT
public static final OFMatchWildcardMask IN_PORT
DL_VLAN
public static final OFMatchWildcardMask DL_VLAN
DL_VLAN_PCP
public static final OFMatchWildcardMask DL_VLAN_PCP
DL_TYPE
public static final OFMatchWildcardMask DL_TYPE
NW_TOS
public static final OFMatchWildcardMask NW_TOS
NW_PROTO
public static final OFMatchWildcardMask NW_PROTO
TP_SRC
public static final OFMatchWildcardMask TP_SRC
TP_DST
public static final OFMatchWildcardMask TP_DST
MPLS_LABEL
public static final OFMatchWildcardMask MPLS_LABEL
MPLS_TC
public static final OFMatchWildcardMask MPLS_TC
value
protected int value
values
public static OFMatchWildcardMask[] 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 (OFMatchWildcardMask c : OFMatchWildcardMask.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static OFMatchWildcardMask 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
getValue
public int getValue()
- Returns:
- the
value