Class GroupingResolver<G,T extends org.opendaylight.yangtools.yang.binding.Augmentable<T>>

java.lang.Object
org.opendaylight.openflowplugin.extension.api.GroupingResolver<G,T>
Type Parameters:
G - grouping
T - Augmentable

@Deprecated public class GroupingResolver<G,T extends org.opendaylight.yangtools.yang.binding.Augmentable<T>> extends Object
Deprecated.
Provides augmentation resolving upon given Augmentable. Used classes share the same Augmentable.
Usage: in case there is Augmentable which might contain multiple Augmentations depending on origin. And those Augmentations are sharing the same grouping so that they could be processed in the same way.
  • Constructor Details

    • GroupingResolver

      public GroupingResolver(Class<G> commonInterface)
      Deprecated.
  • Method Details

    • add

      public <X extends org.opendaylight.yangtools.yang.binding.Augmentation<T>> GroupingResolver<G,T> add(Class<X> cls)
      Deprecated.
      Adds an augmentation class.
      Type Parameters:
      X - type of parameter
      Parameters:
      cls - equivalent augmentation class
      Returns:
      this for chaining
    • setAugmentations

      public void setAugmentations(Set<Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<T>>> clses)
      Deprecated.
      Sets the augmentation classes.
      Parameters:
      clses - set of equivalent augmentation classes
    • getExtension

      public Optional<G> getExtension(T data)
      Deprecated.
      Gets the extension for the given data.
      Parameters:
      data - data
      Returns:
      shared grouping