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

Enhance filter API adding a FilterContext

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Done
    • 0.1-incubating
    • 0.2-incubating
    • API
    • None

    Description

      As discussed oin the mailing list there are use cases where a PropertyFilter, similar to PropertyConverter requires additional (meta)data to be available, so it can implement the correct filtering. This can be solved by introducing a FilterContext. As a result the SPI is changed from

      public String filter(String key, String valueToBeFiltered);
      

      to

      public String filter(String valueToBeFiltered, FilterContext context);
      

      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: