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

Return structure when accessing a singletPropertyValue

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.1-incubating
    • 0.2-incubating
    • API
    • None

    Description

      Return structure when accessing a singlet PropertyValue from the PropertySource SPI. So

      String get/String key)

      will be changed to

      PropertyValue get(String key);
      

      This allows the SPI to deal with additional metadata in a similar way as it is possible, when accessing all properties using Map<String,String> getProperties();.
      A PropertyValue hereby is designed as an immutable value object containing

      • the requested key (String)
      • the value (String)
      • the Map<String,String> representing any kinf of additional context data.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: