|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<OFActionType>
org.openflow.protocol.action.OFActionType
public enum OFActionType
List of OpenFlow Action types and mappings to wire protocol value and derived classes
| Enum Constant Summary | |
|---|---|
COPY_TTL_IN
|
|
COPY_TTL_OUT
|
|
DEC_MPLS_TTL
|
|
DEC_NW_TTL
|
|
GROUP
|
|
OUTPUT
|
|
POP_MPLS
|
|
POP_PBB
|
|
POP_VLAN
|
|
PUSH_MPLS
|
|
PUSH_PBB
|
|
PUSH_VLAN
|
|
SET_FIELD
|
|
SET_MPLS_TTL
|
|
SET_NW_TTL
|
|
SET_QUEUE
|
|
VENDOR
|
|
| Field Summary | |
|---|---|
protected java.lang.Class<? extends OFAction> |
clazz
|
protected java.lang.reflect.Constructor<? extends OFAction> |
constructor
|
protected Instantiable<OFAction> |
instantiable
|
protected static java.util.Map<java.lang.Short,OFActionType> |
mapping
|
protected short |
type
|
| Method Summary | |
|---|---|
static void |
addMapping(short i,
OFActionType t)
Adds a mapping from type value to OFActionType enum |
java.lang.reflect.Constructor<? extends OFAction> |
getConstructor()
Returns the no-argument Constructor of the implementation class for this OFActionType |
Instantiable<OFAction> |
getInstantiable()
|
short |
getTypeValue()
|
static java.util.Set<java.lang.Short> |
getValues()
|
OFAction |
newInstance()
Returns a new instance of the OFAction represented by this OFActionType |
void |
setInstantiable(Instantiable<OFAction> instantiable)
|
java.lang.Class<? extends OFAction> |
toClass()
|
static OFActionType |
valueOf(short i)
Given a wire protocol OpenFlow type number, return the OFActionType associated with it |
static OFActionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static OFActionType[] |
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 |
|---|
public static final OFActionType OUTPUT
public static final OFActionType COPY_TTL_OUT
public static final OFActionType COPY_TTL_IN
public static final OFActionType SET_MPLS_TTL
public static final OFActionType DEC_MPLS_TTL
public static final OFActionType PUSH_VLAN
public static final OFActionType POP_VLAN
public static final OFActionType PUSH_MPLS
public static final OFActionType POP_MPLS
public static final OFActionType SET_QUEUE
public static final OFActionType GROUP
public static final OFActionType SET_NW_TTL
public static final OFActionType DEC_NW_TTL
public static final OFActionType SET_FIELD
public static final OFActionType PUSH_PBB
public static final OFActionType POP_PBB
public static final OFActionType VENDOR
| Field Detail |
|---|
protected static java.util.Map<java.lang.Short,OFActionType> mapping
protected java.lang.Class<? extends OFAction> clazz
protected java.lang.reflect.Constructor<? extends OFAction> constructor
protected Instantiable<OFAction> instantiable
protected short type
| Method Detail |
|---|
public static OFActionType[] values()
for (OFActionType c : OFActionType.values()) System.out.println(c);
public static OFActionType 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 name
java.lang.NullPointerException - if the argument is null
public static void addMapping(short i,
OFActionType t)
i - OpenFlow wire protocol Action type valuet - typepublic static OFActionType valueOf(short i)
i - wire protocol number
public static java.util.Set<java.lang.Short> getValues()
public short getTypeValue()
public java.lang.Class<? extends OFAction> toClass()
public java.lang.reflect.Constructor<? extends OFAction> getConstructor()
public OFAction newInstance()
public Instantiable<OFAction> getInstantiable()
public void setInstantiable(Instantiable<OFAction> instantiable)
instantiable - the instantiable to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||