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
Converts OpenflowJava to MDSal model and vice versa.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract T
Converts source to result.protected ConvertorExecutor
Gets convertor manager.abstract Collection<Class<?>>
getTypes()
Gets type of convertor, used inConvertorManager
.void
setConvertorExecutor
(ConvertorExecutor convertorExecutor) Sets convertor manager.
-
Constructor Details
-
Convertor
public Convertor()
-
-
Method Details
-
getConvertorExecutor
Gets convertor manager.- Returns:
- the convertor manager
-
setConvertorExecutor
Sets convertor manager.- Parameters:
convertorExecutor
- the convertor manager
-
getTypes
Gets type of convertor, used inConvertorManager
.- Returns:
- the type of convertor
-
convert
Converts source to result.- Parameters:
source
- sourcedata
- convertor data- Returns:
- converted source
-