public class DefaultRuleCompilerService extends Object implements RuleCompilerService
RuleCompilerService.| Constructor and Description |
|---|
DefaultRuleCompilerService() |
public RuleCompilerResult compile(AbstractRuleModel rule) throws RuleCompilerException
RuleCompilerServicecompile in interface RuleCompilerServicerule - - the rule to compileRuleCompilerExceptionprotected void updateRuleStatus(AbstractRuleModel rule)
protected void executeBeforeCompileListeners(DefaultRuleCompilerContext context, List<RuleCompilerListener> listeners) throws RuleCompilerException
RuleCompilerExceptionprotected void executeAfterCompileListeners(DefaultRuleCompilerContext context, List<RuleCompilerListener> listeners) throws RuleCompilerException
RuleCompilerExceptionprotected void executeAfterCompileErrorListeners(DefaultRuleCompilerContext context, List<RuleCompilerListener> listeners) throws RuleCompilerException
RuleCompilerExceptionprotected 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)
Copyright © 2017 SAP SE. All Rights Reserved.