Class MatchExtensionHelper
- java.lang.Object
-
- org.opendaylight.openflowplugin.openflow.md.core.extension.MatchExtensionHelper
-
public final class MatchExtensionHelper extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidinjectExtension(org.opendaylight.yangtools.yang.common.Uint8 ofVersion, MatchEntry matchEntry, MatchBuilder matchBuilder, MatchPath matchPath)Injects an extension.static <E extends org.opendaylight.yangtools.yang.binding.Augmentable<E>>
AugmentTuple<E>processAllExtensions(Collection<MatchEntry> matchEntries, OpenflowVersion ofVersion, MatchPath matchPath)Processes all extensions.
-
-
-
Method Detail
-
injectExtension
public static void injectExtension(org.opendaylight.yangtools.yang.common.Uint8 ofVersion, MatchEntry matchEntry, MatchBuilder matchBuilder, MatchPath matchPath)Injects an extension.- Parameters:
matchEntry- match entryofVersion- openflow versionmatchPath- match path
-
processAllExtensions
public static <E extends org.opendaylight.yangtools.yang.binding.Augmentable<E>> AugmentTuple<E> processAllExtensions(Collection<MatchEntry> matchEntries, OpenflowVersion ofVersion, MatchPath matchPath)
Processes all extensions.- Type Parameters:
E- extension point- Parameters:
matchEntries- match entriesofVersion- openflow versionmatchPath- match path- Returns:
- augmentation wrapper containing augmentation depending on matchPath
-
-