Class DefaultRuleCompilerListener
- java.lang.Object
-
- de.hybris.platform.ruleengineservices.compiler.impl.DefaultRuleCompilerListener
-
- All Implemented Interfaces:
RuleCompilerListener
public class DefaultRuleCompilerListener extends java.lang.Object implements RuleCompilerListener
Implementation ofRuleCompilerListenerthat adds rule version to the context.
-
-
Constructor Summary
Constructors Constructor Description DefaultRuleCompilerListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterCompile(RuleCompilerContext context)Handles a notification that the compilation for a particularRuleCompilerContexthas just been completed.voidafterCompileError(RuleCompilerContext context)Handles a notification that the compilation for a particularRuleCompilerContextfailed.voidbeforeCompile(RuleCompilerContext context)Handles a notification that the compilation for a particularRuleCompilerContextis about to begin.protected EngineRuleDaogetEngineRuleDao()voidsetEngineRuleDao(EngineRuleDao engineRuleDao)
-
-
-
Method Detail
-
beforeCompile
public void beforeCompile(RuleCompilerContext context)
Description copied from interface:RuleCompilerListenerHandles a notification that the compilation for a particularRuleCompilerContextis about to begin.- Specified by:
beforeCompilein interfaceRuleCompilerListener- Parameters:
context- - theRuleCompilerContext
-
afterCompile
public void afterCompile(RuleCompilerContext context)
Description copied from interface:RuleCompilerListenerHandles a notification that the compilation for a particularRuleCompilerContexthas just been completed.- Specified by:
afterCompilein interfaceRuleCompilerListener- Parameters:
context- - theRuleCompilerContext
-
afterCompileError
public void afterCompileError(RuleCompilerContext context)
Description copied from interface:RuleCompilerListenerHandles a notification that the compilation for a particularRuleCompilerContextfailed.- Specified by:
afterCompileErrorin interfaceRuleCompilerListener- Parameters:
context- - theRuleCompilerContext
-
getEngineRuleDao
protected EngineRuleDao getEngineRuleDao()
-
setEngineRuleDao
public void setEngineRuleDao(EngineRuleDao engineRuleDao)
-
-