public class MOptimizerChain extends Object implements IMOptimizerChain
Constructor and Description |
---|
MOptimizerChain() |
Modifier and Type | Method and Description |
---|---|
List<IMOptimizer> |
getChain()
retrieves
IMOptimizer chain list. |
void |
optimize(ICompilationContext ctxt,
IAddon rootAddon)
Runs optimization chain.
|
void |
setChain(List<IMOptimizer> chain)
Set
IMOptimizer chain list. |
String |
toString() |
public void optimize(ICompilationContext ctxt, IAddon rootAddon) throws MRuleValidationException
optimize
in interface IMOptimizerChain
ctxt
- Compilation context.rootAddon
- Root addon to optimize.MRuleValidationException
- If an error is detected during process.public List<IMOptimizer> getChain()
IMOptimizerChain
IMOptimizer
chain list.getChain
in interface IMOptimizerChain
public void setChain(List<IMOptimizer> chain)
IMOptimizerChain
IMOptimizer
chain list.setChain
in interface IMOptimizerChain