T
- Base class which should implements this interface and is target for augmentation.@Beta
public interface Augmentable<T>
Augmentable
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ClassToInstanceMap<Augmentation<? super T>> |
augments()
Returns map of all instantiated augmentations.
|
default <E extends Augmentation<? super T>> |
getAugmentation(Class<E> augment)
Returns instance of augmentation based on class
|
default <E extends Augmentation<? super T>> E getAugmentation(Class<E> augment)
augment
- Type of augmentation to be returned.com.google.common.collect.ClassToInstanceMap<Augmentation<? super T>> augments()
Copyright © 2019 OpenDaylight. All rights reserved.