Done
Details
Assignee
Ian YoungIan YoungReporter
Ian YoungIan YoungComponents
Fix versions
Affects versions
Details
Details
Assignee
Ian Young
Ian YoungReporter
Ian Young
Ian YoungComponents
Fix versions
Affects versions
Created November 29, 2019 at 11:57 AM
Updated May 16, 2024 at 12:37 PM
Resolved March 14, 2020 at 6:37 PM
The current
EntitiesDescriptorAssemblerStage
allows the specification of an ordering strategy (defaulting to a no-op strategy) which is used to order the entities within the container. It has a nested interface for this operation.This is at present the only circumstance in which entities in a collection can be reordered. It would be better to:
Extract the strategy interface into the pipeline package
The interface should be made generic on item type
It should be specified produce an unmodifiable collection
Add an
ItemOrderingStage
which performs reordering on the basis of such a strategyRefactor the current functionality of
EntitiesDescriptorAssemblerStage
to use the new interface, OR, remove the ordering functionality entirely. The latter would be cleaner but would require deployers to add another stage to their deployments.