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

Return structure when accessing a singletPropertyValue

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.1-incubating
    • Fix Version/s: 0.2-incubating
    • Component/s: API
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: