Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-6128 Introduce uniform resource loading API
  3. MAGNOLIA-6126

FileResourceLoader vs Origin consistency and cleanup

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Fixed
    • Neutral
    • 5.4
    • None
    • configuration
    • None
    • 5.4 Sprint 4

    Description

      Since order matters - consider instantiating origin instead of injecting them, or use the Builder pattern to be able to explicitly specify the order, have other sets of Origins.
      If we use Builders, we should then also specify pathPattern there, and remove the #start(Pattern) method from the interface.
      As a side note, FileResourceLoader could actually also be an Origin, we could well merge the two interfaces.

      Attachments

        Issue Links

          Activity

            People

              gjoseph Magnolia International
              apchelintcev Aleksandr Pchelintcev
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: