public class DefaultRuleCompilerResultFactory extends java.lang.Object implements RuleCompilerResultFactory
RuleCompilerResultFactory| Constructor and Description |
|---|
DefaultRuleCompilerResultFactory() |
| Modifier and Type | Method and Description |
|---|---|
RuleCompilerResult |
create(AbstractRuleModel rule,
java.util.List<RuleCompilerProblem> problems)
Creates a result of rule compiler process.
|
RuleCompilerResult |
create(AbstractRuleModel rule,
RuleCompilerResult.Result result,
java.util.List<RuleCompilerProblem> problems)
Creates a result of rule compiler process.
|
RuleCompilerResult |
create(RuleCompilerResult compilerResult,
long ruleVersion)
Creates a result of rule compiler process based on the existing compiler result, decorating it with rule version information.
|
public RuleCompilerResult create(AbstractRuleModel rule, RuleCompilerResult.Result result, java.util.List<RuleCompilerProblem> problems)
RuleCompilerResultFactorycreate in interface RuleCompilerResultFactoryrule - - source rule entityresult - - enum: error or successproblems - - list of compilation problemspublic RuleCompilerResult create(AbstractRuleModel rule, java.util.List<RuleCompilerProblem> problems)
RuleCompilerResultFactorycreate in interface RuleCompilerResultFactoryrule - - source rule entityproblems - - list of compilation problemspublic RuleCompilerResult create(RuleCompilerResult compilerResult, long ruleVersion)
RuleCompilerResultFactorycreate in interface RuleCompilerResultFactorycompilerResult - - rule compiler resultruleVersion - - version of the compiled ruleCopyright © 2018 SAP SE. All Rights Reserved.