Class MatchInfoHelper<T extends org.opendaylight.yangtools.yang.binding.DataObject,B extends org.opendaylight.yangtools.concepts.Builder<T>>
- java.lang.Object
-
- org.opendaylight.genius.mdsalutil.MatchInfo
-
- org.opendaylight.genius.mdsalutil.matches.MatchInfoHelper<T,B>
-
- All Implemented Interfaces:
MatchInfoBase
- Direct Known Subclasses:
MatchArpOp
,MatchArpSha
,MatchArpSpa
,MatchArpTha
,MatchArpTpa
,MatchEthernetDestination
,MatchEthernetSource
,MatchEthernetType
,MatchIcmpv4
,MatchIcmpv6
,MatchIpProtocol
,MatchIpv4Destination
,MatchIpv4Source
,MatchIpv6Destination
,MatchIpv6NdSll
,MatchIpv6NdTarget
,MatchIpv6Source
,MatchMetadata
,MatchMplsLabel
,MatchPbbIsid
,MatchTcpDestinationPort
,MatchTcpFlags
,MatchTcpSourcePort
,MatchTunnelId
,MatchUdpDestinationPort
,MatchUdpSourcePort
,MatchVlanVid
public abstract class MatchInfoHelper<T extends org.opendaylight.yangtools.yang.binding.DataObject,B extends org.opendaylight.yangtools.concepts.Builder<T>> extends MatchInfo
Helper for matches (this is designed to be absorbed into MatchInfo once we've cleaned up downstream users).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract void
applyValue(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder matchBuilder, T value)
void
createInnerMatchBuilder(java.util.Map<java.lang.Class<?>,java.lang.Object> mapMatchBuilder)
Creater the inner match object.boolean
equals(java.lang.Object other)
int
hashCode()
protected abstract void
populateBuilder(B builder)
void
setMatch(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder matchBuilder, java.util.Map<java.lang.Class<?>,java.lang.Object> mapMatchBuilder)
Set the match to the match builder.
-
-
-
Method Detail
-
createInnerMatchBuilder
public void createInnerMatchBuilder(java.util.Map<java.lang.Class<?>,java.lang.Object> mapMatchBuilder)
Description copied from interface:MatchInfoBase
Creater the inner match object.- Parameters:
mapMatchBuilder
- the map which holds the matches.
-
setMatch
public void setMatch(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder matchBuilder, java.util.Map<java.lang.Class<?>,java.lang.Object> mapMatchBuilder)
Description copied from interface:MatchInfoBase
Set the match to the match builder.- Parameters:
matchBuilder
- the matchbuilder to set the matchmapMatchBuilder
- the map containing the matches
-
applyValue
protected abstract void applyValue(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder matchBuilder, T value)
-
populateBuilder
protected abstract void populateBuilder(B builder)
-
-