Class ApplyOperator

java.lang.Object
ca.mcscert.jpipe.operators.ApplyOperator
All Implemented Interfaces:
Command, MacroCommand

public final class ApplyOperator extends Object implements MacroCommand
A deferred MacroCommand that expands an operator call into the Commands needed to build the result model.

Execution is deferred until all source models named in sourceNames() are present in the Unit. Once the condition is satisfied, expand(Unit) looks up the operator in the OperatorRegistry, gathers the source models, and delegates to CompositionOperator.apply(String, List, Map).