Interface AccessTransformersContainer
- All Known Subinterfaces:
AccessTransformersExtension
Represents a container of dependencies that will be access transformed.
Containers are created with AccessTransformersExtension.register(Attribute, Action). Dependencies can be added
using dep(Object, Closure).
- See Also:
- API Note:
- This interface is effectively sealed and must not be extended.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceWhen initially registering an AccessTransformers container, the consumer must define key information regarding how AccessTransformers will be used. -
Method Summary
Modifier and TypeMethodDescriptiondefault DependencyQueues the given dependency to be transformed by AccessTransformers.Queues the given dependency to be transformed by AccessTransformers.default Dependencydep(Object dependencyNotation, Action<? super Dependency> action) Queues the given dependency to be transformed by AccessTransformers.default DependencyQueues the given dependency to be transformed by AccessTransformers.default DependencyQueues the given dependency to be transformed by AccessTransformers.default Dependencydep(Provider<?> dependencyNotation, Action<? super Dependency> action) Queues the given dependency to be transformed by AccessTransformers.default Dependencydep(ProviderConvertible<?> dependencyNotation) Queues the given dependency to be transformed by AccessTransformers.default Dependencydep(ProviderConvertible<?> dependencyNotation, Closure closure) Queues the given dependency to be transformed by AccessTransformers.default Dependencydep(ProviderConvertible<?> dependencyNotation, Action<? super Dependency> action) Queues the given dependency to be transformed by AccessTransformers.voiddefault voidoptions(Action<? super AccessTransformersContainer.Options> action) static AccessTransformersContainerRegisters a new container using the given attribute and options.static AccessTransformersContainerregister(Project project, Attribute<Boolean> attribute, Action<? super AccessTransformersContainer.Options> options) Registers a new container using the given attribute and options.
-
Method Details
-
register
static AccessTransformersContainer register(Project project, Attribute<Boolean> attribute, Action<? super AccessTransformersContainer.Options> options) Registers a new container using the given attribute and options.- Parameters:
attribute- The boolean attribute to use for this containeroptions- The options to apply- Returns:
- The registered container
- See Also:
-
register
static AccessTransformersContainer register(Project project, Attribute<Boolean> attribute, @DelegatesTo(value=AccessTransformersContainer.Options.class,strategy=1) Closure options) Registers a new container using the given attribute and options.- Parameters:
attribute- The boolean attribute to use for this containeroptions- The options to apply- Returns:
- The registered container
- See Also:
-
getAttribute
-
options
void options(@DelegatesTo(value=AccessTransformersContainer.Options.class,strategy=1) Closure closure) -
options
-
dep
Queues the given dependency to be transformed by AccessTransformers.- Parameters:
dependencyNotation- The dependency (notation)closure- A configuring closure for the dependency
-
dep
Queues the given dependency to be transformed by AccessTransformers.- Parameters:
dependencyNotation- The dependency (notation)action- A configuring action for the dependency
-
dep
Queues the given dependency to be transformed by AccessTransformers.- Parameters:
dependencyNotation- The dependency (notation)
-
dep
default Dependency dep(Provider<?> dependencyNotation, @DelegatesTo(Dependency.class) Closure closure) Queues the given dependency to be transformed by AccessTransformers.- Parameters:
dependencyNotation- The dependency (notation)closure- A configuring closure for the dependency
-
dep
Queues the given dependency to be transformed by AccessTransformers.- Parameters:
dependencyNotation- The dependency (notation)action- A configuring action for the dependency
-
dep
Queues the given dependency to be transformed by AccessTransformers.- Parameters:
dependencyNotation- The dependency (notation)
-
dep
default Dependency dep(ProviderConvertible<?> dependencyNotation, @DelegatesTo(Dependency.class) Closure closure) Queues the given dependency to be transformed by AccessTransformers.- Parameters:
dependencyNotation- The dependency (notation)closure- A configuring closure for the dependency
-
dep
default Dependency dep(ProviderConvertible<?> dependencyNotation, Action<? super Dependency> action) Queues the given dependency to be transformed by AccessTransformers.- Parameters:
dependencyNotation- The dependency (notation)action- A configuring action for the dependency
-
dep
Queues the given dependency to be transformed by AccessTransformers.- Parameters:
dependencyNotation- The dependency (notation)
-