Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
5.2.0
-
None
Description
It is a pain to create order constraint for contributions because of the hard coded string "before" and "after".
It would be nice to have a fluent API for this.
public static void contributeMasterDispatcher(final OrderedConfiguration<Dispatcher> configuration)
{ configuration.addInstance("MyDispatcher", MyDispatcher.class, before("PageRender").after("ComponentEvent").build()); }