Package org.kigalisim.engine.recalc
Class RecalcOperation
java.lang.Object
org.kigalisim.engine.recalc.RecalcOperation
Operation that executes a sequence of recalculation strategies.
-
Constructor Summary
ConstructorsConstructorDescriptionRecalcOperation(List<RecalcStrategy> strategies, RecalcKit recalcKit, boolean shouldResetSalesIntent) Create a new RecalcOperation with the given strategies and RecalcKit. -
Method Summary
-
Constructor Details
-
RecalcOperation
public RecalcOperation(List<RecalcStrategy> strategies, RecalcKit recalcKit, boolean shouldResetSalesIntent) Create a new RecalcOperation with the given strategies and RecalcKit.- Parameters:
strategies- The list of strategies to execute in orderrecalcKit- The RecalcKit containing dependencies for strategiesshouldResetSalesIntent- Whether to reset sales intent flag after execution
-
-
Method Details
-
execute
Execute all strategies in order on the target engine.- Parameters:
target- The engine on which to execute the strategies
-