provider

Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
spelling: registry

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

    • -12
    • +12
    ./model/internal/DefaultToolingModelBuilderRegistryTest.groovy
  1. … 1 more file in changeset.
Move lenient project locking to tooling model builder registry

    • -1
    • +5
    ./model/internal/DefaultToolingModelBuilderRegistryTest.groovy
  1. … 5 more files in changeset.
Add model builder build operations

    • -4
    • +8
    ./model/internal/DefaultToolingModelBuilderRegistryTest.groovy
  1. … 4 more files in changeset.
Code clean up for parameterized models

Refactorings and code clean up folloiwing commit "Introduce creation of

parameterized tooling models"

    • -3
    • +3
    ./model/internal/DefaultToolingModelBuilderRegistryTest.groovy
  1. … 26 more files in changeset.
Introduce creation of parameterized tooling models

This commit introduces the possibility of passing parameters through the

Tooling API to the model builders in order to create models based on

information received by the client.

This feature allows plugins to register a model builder for a given

model and parameter and then build models based on the received

parameter. It is preferable to passing gradle properties for two

reasons: first convenience and second because parameters can be created

inside the BuildAction.

A new interface ToolingParameterizedModelBuilder was created and should

be extended by parameterized builders. New methods were added to the

BuildController in order to build models with parameters. In order to

keep cross version compatibility, new protocol interfaces were created.

    • -0
    • +19
    ./model/internal/DefaultToolingModelBuilderRegistryTest.groovy
  1. … 38 more files in changeset.
Changed contract of ToolingModelBuilderRegistry.getBuilder() to throw UnknownModelException instead of UnsupportedOperationException.

    • -1
    • +2
    ./model/internal/DefaultToolingModelBuilderRegistryTest.groovy
  1. … 3 more files in changeset.
Changed ToolingModelBuilder so that it accepts the target model name rather than a model type.

    • -10
    • +10
    ./model/internal/DefaultToolingModelBuilderRegistryTest.groovy
  1. … 10 more files in changeset.
Moved the ToolingModelBuilderRegistry implementation to core and made available as a service,

    • -0
    • +75
    ./model/internal/DefaultToolingModelBuilderRegistryTest.groovy
  1. … 7 more files in changeset.