Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-6462

Refactor enum mappings

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: L3 - Default L3 - Default
    • None
    • None
    • backend

      Context:

      We sometimes map one enum to another, eg mapping an Optimize specific unit to ChronoUnit. Currently, this is mostly done via mapping functions but we want to replace these by adding the mapping, eg mapping to ChronoUnit, as a field of the optimize enum itself. In some cases where mappings often occur it could also be worth considering adding a mapping util class instead (eg a util for all mappers which map to ChronoUnit)

       

      AT:

      • mapping functions from one enum to another are replaced by adding the target enum to the source enum as a field OR a mapping utiil is added for recurring mappings

        This is the controller panel for Smart Panels app

              Unassigned Unassigned
              helene.waechtler Helene Waechtler
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: