Class ActionResponseConvertor
java.lang.Object
org.opendaylight.openflowplugin.openflow.md.core.sal.convertor.common.Convertor<List<Action>,List<Action>,ActionResponseConvertorData>
org.opendaylight.openflowplugin.openflow.md.core.sal.convertor.action.ActionResponseConvertor
public final class ActionResponseConvertor
extends Convertor<List<Action>,List<Action>,ActionResponseConvertorData>
Converts OF actions associated with bucket to SAL Actions.
Example usage:
ActionResponseConvertorData data = new ActionResponseConvertorData(version);
data.setActionPath(actionPath);
Optional<List<Action>> salActions = convertorManager.convert(ofActions, data);
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvert
(List<Action> source, ActionResponseConvertorData data) Converts source to result.Collection<Class<?>>
getTypes()
Gets type of convertor, used inConvertorManager
.Methods inherited from class org.opendaylight.openflowplugin.openflow.md.core.sal.convertor.common.Convertor
getConvertorExecutor, setConvertorExecutor
-
Constructor Details
-
ActionResponseConvertor
public ActionResponseConvertor()
-
-
Method Details
-
getTypes
Description copied from class:Convertor
Gets type of convertor, used inConvertorManager
. -
convert
Description copied from class:Convertor
Converts source to result.
-