T
- the decorated definition typepublic interface DefinitionDecorator<T>
DefinitionDecorator
interface: provides some info about itself via DefinitionDecoratorMetadata
, can decide whether it can decorate
a DefinitionProvider
and exposes a method to actually perform the decoration.Modifier and Type | Method and Description |
---|---|
boolean |
appliesTo(DefinitionProvider<T> definitionProvider) |
DefinitionProvider<T> |
decorate(DefinitionProvider<T> definitionProvider) |
DefinitionDecoratorMetadata |
metadata() |
DefinitionDecoratorMetadata metadata()
boolean appliesTo(DefinitionProvider<T> definitionProvider)
DefinitionProvider<T> decorate(DefinitionProvider<T> definitionProvider)
Copyright © 2003–2016 Magnolia International Ltd.. All rights reserved.