DefaultPropertyStateTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Renamed class and associated unit test.

    • -258
    • +0
    ./DefaultPropertyStateTest.groovy
  1. … 9 more files in changeset.
Renamed class and associated unit test.

    • -258
    • +0
    ./DefaultPropertyStateTest.groovy
  1. … 9 more files in changeset.
WIP

  1. … 29 more files in changeset.
Move managed factories to a registry

  1. … 46 more files in changeset.
Move managed factories to a registry

  1. … 47 more files in changeset.
Move managed factories to a registry

  1. … 48 more files in changeset.
Move managed factories to a registry

  1. … 48 more files in changeset.
Add `convention()` method for all property types with overloads that accept either the convention value or a provider of the convention value.

  1. … 19 more files in changeset.
Change `ObjectFactory` to create collection and map properties whose initial value is an empty collection or map, and add a `convention()` method for collection properties. The "convention" for a property is the value to use when none has been explicitly specified for the property. This changes adds this for collection properties for now. It will be added for all lazy types later.

  1. … 30 more files in changeset.
Add `HasMultipleValue.finalizeValue()` method to allow the value of a collection property to be made final. Attempts to change the property value after this method is called will fail.

Use this in the native plugins and remove the internal `LockableCollectionProperty` implementation as it is no longer needed.

  1. … 19 more files in changeset.
Add `Provider.flatMap()` method, which creates a provider backed by a transform that returns a provider.

The implementation does not carry any details about the producer task.

  1. … 24 more files in changeset.
Move provider and property types from base-services up to model-core project. This better reflects their role and also later allows these types to reference other public types that are more specialized than those in base-services.

    • -0
    • +230
    ./DefaultPropertyStateTest.groovy
  1. … 101 more files in changeset.