public abstract class VTNFlowAction extends Object
VTNFlowAction descrbes the abstracted flow action.| Modifier and Type | Method and Description |
|---|---|
protected void |
appendContents(StringBuilder builder)
Append strings which represents the contents of this instance into the
given
StringBuilder instance. |
protected <T> T |
cast(Class<T> type,
Object obj)
Cast the given object as the given type.
|
boolean |
equals(Object o)
Determine whether the given object is identical to this object.
|
abstract String |
getDescription(org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.Action act)
Return a brief description about the specified MD-SAL action.
|
protected String |
getErrorMessage(Object... args)
Return a message which indicates an error caused by this class.
|
int |
hashCode()
Return the hash code of this object.
|
protected abstract org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.ActionBuilder |
set(org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.ActionBuilder builder)
Set a MD-SAL action into the given action builder.
|
protected abstract VtnFlowActionBuilder |
set(VtnFlowActionBuilder builder)
Set a VTN action into the given VTN flow action builder.
|
org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.ActionBuilder |
toActionBuilder(Integer ord)
Convert this instance into a MD-SAL action builder instance.
|
String |
toString()
Return a string representation of this instance.
|
abstract VtnAction |
toVtnAction(org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.Action act)
Convert the given MD-SAL action instance into a
VtnAction
instance. |
VtnFlowActionBuilder |
toVtnFlowActionBuilder(Integer ord)
Convert this instance into a VTN flow action builder instance.
|
public final VtnFlowActionBuilder toVtnFlowActionBuilder(Integer ord)
ord - An integer which determines the order of flow actions
in a flow entry.VtnFlowActionBuilder instance.public final org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.ActionBuilder toActionBuilder(Integer ord)
ord - An integer which determines the order of flow actions
in a flow entry.ActionBuilder instance.protected final String getErrorMessage(Object... args)
args - Objects to be embedded in an error message.protected void appendContents(StringBuilder builder)
StringBuilder instance.builder - A StringBuilder instance.protected final <T> T cast(Class<T> type, Object obj) throws RpcException
T - The target type.type - A class that indicates the target type.obj - An object to be converted.obj casted as the given type.RpcException - Unable to cast the given instance.public abstract VtnAction toVtnAction(org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.Action act) throws RpcException
VtnAction
instance.
Note that this method must not affect instance variables.
act - An Action instance.VtnAction instance.RpcException - Failed to convert the given instance.public abstract String getDescription(org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.Action act) throws RpcException
Note that this method must not affect instance variables.
act - An Action instance.RpcException - An error occurred.protected abstract VtnFlowActionBuilder set(VtnFlowActionBuilder builder)
builder - A VtnFlowActionBuilder instance.builder.protected abstract org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.ActionBuilder set(org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.ActionBuilder builder)
builder - An ActionBuilder instance.builder.public boolean equals(Object o)
public int hashCode()
Copyright © 2018 OpenDaylight. All rights reserved.