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 Type
    Method
    Description
    accumulate(E extension, C constraints)
    Enriches a Gradle extension with the information from a Constratints definition.
    assemble(C c1, C c2)
    Merges two AssemblableConstraints into one constraints definition.
  • Method Details

    • assemble

      C assemble(C c1, C c2)
      Merges two AssemblableConstraints into one constraints definition.
      Parameters:
      c1 - the first constraints definition.
      c2 - the second constraints definition
      Returns:
      the merged constraints definition
    • accumulate

      E accumulate(E extension, C constraints)
      Enriches a Gradle extension with the information from a Constratints definition.
      Parameters:
      extension - the enriched extension
      constraints - the constraints definition.