public interface IMOptimizerChain
IMOptimizer
to apply on an addon.Modifier and Type | Method and Description |
---|---|
List<IMOptimizer> |
getChain()
retrieves
IMOptimizer chain list. |
void |
optimize(ICompilationContext ctxt,
IAddon rootAddon)
Computes global optimization chain on provided addon.
|
void |
setChain(List<IMOptimizer> chain)
Set
IMOptimizer chain list. |
void optimize(ICompilationContext ctxt, IAddon rootAddon) throws MRuleValidationException
ctxt
- Compilation context.rootAddon
- Root addon to optimize.MRuleValidationException
- If an error is detected during process.void setChain(List<IMOptimizer> chain)
IMOptimizer
chain list.List<IMOptimizer> getChain()
IMOptimizer
chain list.