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.
Provides augmentation resolving upon given
Usage: in case there is
Augmentable
.
Used classes
share the same Augmentable
.
Usage: in case there is
Augmentable
which might contain
multiple Augmentation
s depending on origin. And those Augmentation
s
are sharing the same grouping so that they could be processed in the same way.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<X extends org.opendaylight.yangtools.yang.binding.Augmentation<T>>
GroupingResolver<G,T> Deprecated.Adds an augmentation class.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.
-
Constructor Details
-
GroupingResolver
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
Deprecated.Gets the extension for the given data.- Parameters:
data
- data- Returns:
- shared grouping
-
AugmentationGroupingResolver
instead.