Class MatchExtensionHelper


  • public final class MatchExtensionHelper
    extends Object
    • 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 entry
        ofVersion - openflow version
        matchPath - 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 entries
        ofVersion - openflow version
        matchPath - match path
        Returns:
        augmentation wrapper containing augmentation depending on matchPath