public class DefaultRuleCompilerContext extends Object implements RuleCompilerContext
RuleCompilerContext.| Modifier and Type | Field and Description |
|---|---|
static String |
ACTION_DEFINITIONS_ATTRIBUTE |
static String |
CONDITION_DEFINITIONS_ATTRIBUTE |
| Constructor and Description |
|---|
DefaultRuleCompilerContext(AbstractRuleModel rule,
RuleIrVariablesGenerator variablesGenerator) |
public static final String CONDITION_DEFINITIONS_ATTRIBUTE
public static final String ACTION_DEFINITIONS_ATTRIBUTE
public DefaultRuleCompilerContext(AbstractRuleModel rule, RuleIrVariablesGenerator variablesGenerator)
public AbstractRuleModel getRule()
RuleCompilerContextgetRule in interface RuleCompilerContextpublic List<RuleParameterData> getRuleParameters()
RuleCompilerContextgetRuleParameters in interface RuleCompilerContextpublic RuleIrVariablesGenerator getVariablesGenerator()
RuleCompilerContextgetVariablesGenerator in interface RuleCompilerContextpublic String generateVariable(Class<?> type)
RuleCompilerContextRuleIrVariablesGenerator.generateVariable(Class).generateVariable in interface RuleCompilerContexttype - - the typepublic RuleIrLocalVariablesContainer createLocalContainer()
RuleCompilerContextRuleIrVariablesGenerator.createLocalContainer().createLocalContainer in interface RuleCompilerContextpublic String generateLocalVariable(RuleIrLocalVariablesContainer container, Class<?> type)
RuleCompilerContextgenerateLocalVariable in interface RuleCompilerContexttype - - the typepublic Map<String,Object> getAttributes()
RuleCompilerContextMap that can be used to store attributes associated with this
RuleCompilerContext.getAttributes in interface RuleCompilerContextpublic void addFailureException(Exception exception)
public List<Exception> getFailureExceptions()
RuleCompilerContextRuleCompilerContext.getFailureExceptions in interface RuleCompilerContextpublic List<RuleCompilerProblem> getProblems()
RuleCompilerContextgetProblems in interface RuleCompilerContextpublic void addProblem(RuleCompilerProblem problem)
RuleCompilerContextaddProblem in interface RuleCompilerContextpublic Map<String,RuleConditionDefinitionData> getConditionDefinitions()
RuleCompilerContextgetConditionDefinitions in interface RuleCompilerContextpublic Map<String,RuleActionDefinitionData> getActionDefinitions()
RuleCompilerContextgetActionDefinitions in interface RuleCompilerContextpublic List<RuleConditionData> getRuleConditions()
RuleCompilerContextgetRuleConditions in interface RuleCompilerContextCopyright © 2017 SAP SE. All Rights Reserved.