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 Type
    Method
    Description
    accumulate(E extension)
    Enriches a Gradle extension with the information from an implementing constraints definition.
    void
    assemble(C constraints)
    Merges the passed constraints definition with an implementing constraints definition.
    void
    Configures a possible merge strategy
  • Method Details

    • assemble

      void assemble(C constraints)
      Merges the passed constraints definition with an implementing constraints definition.
      Parameters:
      constraints - the constraints definition.
    • accumulate

      E accumulate(E extension)
      Enriches a Gradle extension with the information from an implementing constraints definition.
      Parameters:
      extension - the extension
    • setAssembleStrategy

      void setAssembleStrategy(AssembleStrategy<C,E> assembleStrategy)
      Configures a possible merge strategy
      Parameters:
      assembleStrategy - the strategy