public interface ConfigurationDeclaration
ModuleAssembly.configurations(Class[]).| Modifier and Type | Method and Description |
|---|---|
ConfigurationDeclaration |
setMetaInfo(Object info)
Set additional metainfo for this configuration declaration.
|
ConfigurationDeclaration |
visibleIn(Visibility visibility)
Set visibility for declared entities.
|
ConfigurationDeclaration |
withConcerns(Class<?>... concerns)
Declare additional concerns for these configurations.
|
ConfigurationDeclaration |
withMixins(Class<?>... mixins)
Declare additional mixins for these configurations.
|
ConfigurationDeclaration |
withSideEffects(Class<?>... sideEffects)
Declare additional side-effects for these configurations.
|
ConfigurationDeclaration |
withTypes(Class<?>... types)
Declare additional interfaces for these declared interfaces.
|
ConfigurationDeclaration setMetaInfo(Object info)
info - metainfo that can be retrieved from the CompositeDescriptor.ConfigurationDeclaration visibleIn(Visibility visibility)
visibility - The Visibility that this ConfigurationComposite will have.ConfigurationDeclaration withConcerns(Class<?>... concerns)
concerns - The concerns that are to be added to the ConfigurationComposite beyond the statically declared ones.ConfigurationDeclaration withSideEffects(Class<?>... sideEffects)
sideEffects - The sideeffects that are to be added to the ConfigurationComposite beyond the statically declared ones.ConfigurationDeclaration withMixins(Class<?>... mixins)
This can be useful to override any default mixins from the configuration interface.
mixins - The mixins that are to be added to the ConfigurationComposite beyond the statically declared ones.ConfigurationDeclaration withTypes(Class<?>... types)
This can be useful to add types that the Configuration should implement, but which you do not want to include in the entity interface itself.
types - list of interfaces to add