Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-1614

Rename FieldBuilder to FieldFactory

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Neutral
    • 5.0
    • None
    • framework
    • RC 1

    Description

      We decided to rename Field*Builders to Field*Factory. Which means:

      • we rename FieldBuilder to FieldFactory (FieldValidatorBuilder to FieldValidatorFactory)
        • Builder is reserved for the future configuration builders
      • the current FieldFactory will be renamed
        • the current name should have been FieldBuilderFactory anyway
        • the new name is FieldFactoryFactory
          • this is still the best name for that thing and we tried to avoid tricks like FieldFactoryProvider, ...
          • this class is an internal and normal devs won't be confronted with it
      • FiledTypeDefinition.getBuilder()
        • is then FieldTypeDefinition.getFactoryClass()
          • its not an instance and should have the Class suffix
      • packages .builder will be renamed to .factory
      • methods creating e.g. fields will be renamed to "newInstance"

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                dlipp Daniel Lipp
                tmattsson Tobias Mattsson
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoR