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
- groupingT
- Augmentable
@Deprecated public class GroupingResolver<G,T extends org.opendaylight.yangtools.yang.binding.Augmentable<T>> extends Object
Deprecated.UseAugmentationGroupingResolver
instead.Provides augmentation resolving upon givenAugmentable
. Usedclasses
share the sameAugmentable
.
Usage: in case there isAugmentable
which might contain multipleAugmentation
s depending on origin. And thoseAugmentation
s are sharing the same grouping so that they could be processed in the same way.
-
-
Constructor Summary
Constructors Constructor Description GroupingResolver(Class<G> commonInterface)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description <X extends org.opendaylight.yangtools.yang.binding.Augmentation<T>>
GroupingResolver<G,T>add(Class<X> cls)
Deprecated.Adds an augmentation class.Optional<G>
getExtension(T data)
Deprecated.Gets the extension for the given data.void
setAugmentations(Set<Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<T>>> clses)
Deprecated.Sets the augmentation classes.
-
-
-
Method Detail
-
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
-
-