Interface AssembleStrategy<C extends AssemblableConstraints,E>
- Type Parameters:
C- the type of constraints definition.E- the type of Gradle extension.
- All Known Implementing Classes:
DefaultBundleAssembleStrategy
public interface AssembleStrategy<C extends AssemblableConstraints,E>
Defines a strategy for merging
AssemblableConstraints.-
Method Summary
Modifier and TypeMethodDescriptionaccumulate(E extension, C constraints) Enriches a Gradle extension with the information from a Constratints definition.Merges twoAssemblableConstraintsinto one constraints definition.
-
Method Details
-
assemble
Merges twoAssemblableConstraintsinto one constraints definition.- Parameters:
c1- the first constraints definition.c2- the second constraints definition- Returns:
- the merged constraints definition
-
accumulate
Enriches a Gradle extension with the information from a Constratints definition.- Parameters:
extension- the enriched extensionconstraints- the constraints definition.
-