Uploaded image for project: 'Tamaya'
  1. Tamaya
  2. TAMAYA-401

Clarify API for PropertyValue, ObjectValue, ListValue

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.4-incubating
    • API
    • None

    Description

      Clarify the API, e.g.:

      • getPropertyValue always returns a PropertyValue
      • getValue always returns a (resolved) String.
      • remove Collection<PropertyValue> getValues(Predicate<PropertyValue> predicate). It can be implemented easily by clients.
      • remove PropertyValue toPropertyValue(). Instances already are of that type.
      • add ObjectValue setValues(Map<String, String> config) to ObjectValue..
      • add-Methods already return the objects added, whereas set-Methods always returned the instance the call is operated on (builder style).
      • add public static ObjectValue from(Collection<PropertyValue> values) on ObjectValue.

      Attachments

        Activity

          People

            anatole Anatole Tresch
            anatole Anatole Tresch
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: