Class Convertor<F,T,D extends ConvertorData>
- java.lang.Object
-
- org.opendaylight.openflowplugin.openflow.md.core.sal.convertor.common.Convertor<F,T,D>
-
- Type Parameters:
F- type of sourceT- type of resultD- the type parameter
- Direct Known Subclasses:
ActionConvertor,ActionResponseConvertor,FlowConvertor,FlowFlagsConvertor,FlowFlagsV10Convertor,FlowInstructionResponseConvertor,FlowStatsResponseConvertor,GroupConvertor,GroupDescStatsResponseConvertor,GroupStatsResponseConvertor,MatchConvertor,MatchResponseConvertor,MatchV10Convertor,MatchV10ResponseConvertor,MeterConfigStatsResponseConvertor,MeterConvertor,MeterStatsResponseConvertor,PacketOutConvertor,PortConvertor,TableFeaturesConvertor,TableFeaturesResponseConvertor
public abstract class Convertor<F,T,D extends ConvertorData> extends Object
Converts OpenflowJava to MDSal model and vice versa.
-
-
Constructor Summary
Constructors Constructor Description Convertor()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract Tconvert(F source, D data)Converts source to result.protected ConvertorExecutorgetConvertorExecutor()Gets convertor manager.abstract Collection<Class<?>>getTypes()Gets type of convertor, used inConvertorManager.voidsetConvertorExecutor(ConvertorExecutor convertorExecutor)Sets convertor manager.
-
-
-
Method Detail
-
getConvertorExecutor
protected ConvertorExecutor getConvertorExecutor()
Gets convertor manager.- Returns:
- the convertor manager
-
setConvertorExecutor
public void setConvertorExecutor(ConvertorExecutor convertorExecutor)
Sets convertor manager.- Parameters:
convertorExecutor- the convertor manager
-
getTypes
public abstract Collection<Class<?>> getTypes()
Gets type of convertor, used inConvertorManager.- Returns:
- the type of convertor
-
-