Interface AssemblableConstraints<C extends AssemblableConstraints,E>
- Type Parameters:
C- the type of constraints definition.E- the type of Gradle extension.
- All Known Implementing Classes:
BundleConstraints
public interface AssemblableConstraints<C extends AssemblableConstraints,E>
Interface that defines a constraints definition as mergeable.
-
Method Summary
Modifier and TypeMethodDescriptionaccumulate(E extension) Enriches a Gradle extension with the information from an implementing constraints definition.voidMerges the passed constraints definition with an implementing constraints definition.voidsetAssembleStrategy(AssembleStrategy<C, E> assembleStrategy) Configures a possible merge strategy
-
Method Details
-
assemble
Merges the passed constraints definition with an implementing constraints definition.- Parameters:
constraints- the constraints definition.
-
accumulate
Enriches a Gradle extension with the information from an implementing constraints definition.- Parameters:
extension- the extension
-
setAssembleStrategy
Configures a possible merge strategy- Parameters:
assembleStrategy- the strategy
-