public class DefaultRuleCompilerService extends java.lang.Object implements RuleCompilerService
RuleCompilerService.| Constructor and Description |
|---|
DefaultRuleCompilerService() |
public RuleCompilerResult compile(AbstractRuleModel rule, java.lang.String moduleName)
RuleCompilerServicecompile in interface RuleCompilerServicerule - - the rule to compilemoduleName - - the rules module namepublic RuleCompilerResult compile(RuleCompilationContext ruleCompilationContext, AbstractRuleModel rule, java.lang.String moduleName)
RuleCompilerServicecompile in interface RuleCompilerServiceruleCompilationContext - - instance of RuleCompilationContextrule - - the rule to compilemoduleName - - the rules module nameprotected void executeBeforeCompileListeners(DefaultRuleCompilerContext context, java.util.List<RuleCompilerListener> listeners)
protected void executeAfterCompileListeners(DefaultRuleCompilerContext context, java.util.List<RuleCompilerListener> listeners)
protected void executeAfterCompileErrorListeners(DefaultRuleCompilerContext context, java.util.List<RuleCompilerListener> listeners)
protected RuleCompilerListenersFactory getRuleCompilerListenersFactory()
public void setRuleCompilerListenersFactory(RuleCompilerListenersFactory ruleCompilerListenersFactory)
protected RuleSourceCodeTranslatorFactory getRuleSourceCodeTranslatorFactory()
protected RuleIrVariablesGeneratorFactory getRuleIrVariablesGeneratorFactory()
public void setRuleIrVariablesGeneratorFactory(RuleIrVariablesGeneratorFactory ruleIrVariablesGeneratorFactory)
protected RuleCompilerContextFactory<DefaultRuleCompilerContext> getRuleCompilerContextFactory()
public void setRuleCompilerContextFactory(RuleCompilerContextFactory<DefaultRuleCompilerContext> ruleCompilerContextFactory)
public void setRuleSourceCodeTranslatorFactory(RuleSourceCodeTranslatorFactory ruleSourceCodeTranslatorFactory)
protected RuleIrProcessorFactory getRuleIrProcessorFactory()
public void setRuleIrProcessorFactory(RuleIrProcessorFactory ruleIrProcessorFactory)
protected RuleTargetCodeGeneratorFactory getRuleTargetCodeGeneratorFactory()
public void setRuleTargetCodeGeneratorFactory(RuleTargetCodeGeneratorFactory ruleTargetCodeGeneratorFactory)
protected RuleCompilerResultFactory getRuleCompilerResultFactory()
public void setRuleCompilerResultFactory(RuleCompilerResultFactory ruleCompilerResultFactory)
protected ModelService getModelService()
public void setModelService(ModelService modelService)
protected RuleCompilationContextProvider getRuleCompilationContextProvider()
public void setRuleCompilationContextProvider(RuleCompilationContextProvider ruleCompilationContextProvider)
Copyright © 2018 SAP SE. All Rights Reserved.