public static enum PortNumber.Logical extends java.lang.Enum<PortNumber.Logical>
Enum Constant and Description |
---|
ALL |
ANY |
CONTROLLER |
FLOOD |
IN_PORT |
LOCAL |
NORMAL |
TABLE |
Modifier and Type | Method and Description |
---|---|
PortNumber |
instance()
PortNumber instance for the logical port.
|
long |
number() |
static PortNumber.Logical |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PortNumber.Logical[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PortNumber.Logical IN_PORT
public static final PortNumber.Logical TABLE
public static final PortNumber.Logical NORMAL
public static final PortNumber.Logical FLOOD
public static final PortNumber.Logical ALL
public static final PortNumber.Logical LOCAL
public static final PortNumber.Logical CONTROLLER
public static final PortNumber.Logical ANY
public static PortNumber.Logical[] values()
for (PortNumber.Logical c : PortNumber.Logical.values()) System.out.println(c);
public static PortNumber.Logical valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic long number()
public PortNumber instance()
PortNumber