MapPropertySpec.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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.
Fix collection property implementations when `add()` or `put()` are called when the convention is being used.

  1. … 5 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.
Map property

Signed-off-by: Till Krullmann <till.krullmann@gmx.net>

    • -0
    • +703
    ./MapPropertySpec.groovy
  1. … 14 more files in changeset.