use of org.apache.sling.scripting.sightly.impl.plugin.AggregatePluginInvoke in project sling by apache.
the class ElementContext method pluginInvoke.
public PluginInvoke pluginInvoke() {
if (aggregateInvoke == null) {
Collections.sort(invokeList);
ArrayList<PluginInvoke> result = new ArrayList<>();
for (PrioritizedInvoke prioritizedInvoke : invokeList) {
result.add(prioritizedInvoke.invoke);
}
aggregateInvoke = new AggregatePluginInvoke(result);
}
return aggregateInvoke;
}
Aggregations