public class DefaultRuleCompilerResult extends java.lang.Object implements RuleCompilerResult
RuleCompilerResult.RuleCompilerResult.Result| Constructor and Description |
|---|
DefaultRuleCompilerResult(java.lang.String ruleCode,
java.util.List<RuleCompilerProblem> problems) |
DefaultRuleCompilerResult(java.lang.String ruleCode,
RuleCompilerResult.Result result,
java.util.List<RuleCompilerProblem> problems) |
DefaultRuleCompilerResult(java.lang.String ruleCode,
RuleCompilerResult.Result result,
java.util.List<RuleCompilerProblem> problems,
long ruleVersion) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<RuleCompilerProblem> |
getProblems()
Returns problems occurred during compilation process.
|
RuleCompilerResult.Result |
getResult()
Returns outcome of compilation process.
|
java.lang.String |
getRuleCode()
Returns code of the source rule that has been compiled.
|
long |
getRuleVersion()
Returns version of the source rule that has been compiled.
|
public DefaultRuleCompilerResult(java.lang.String ruleCode,
RuleCompilerResult.Result result,
java.util.List<RuleCompilerProblem> problems)
public DefaultRuleCompilerResult(java.lang.String ruleCode,
java.util.List<RuleCompilerProblem> problems)
public DefaultRuleCompilerResult(java.lang.String ruleCode,
RuleCompilerResult.Result result,
java.util.List<RuleCompilerProblem> problems,
long ruleVersion)
public java.lang.String getRuleCode()
RuleCompilerResultgetRuleCode in interface RuleCompilerResultpublic long getRuleVersion()
RuleCompilerResultgetRuleVersion in interface RuleCompilerResultpublic RuleCompilerResult.Result getResult()
RuleCompilerResultgetResult in interface RuleCompilerResultpublic java.util.List<RuleCompilerProblem> getProblems()
RuleCompilerResultgetProblems in interface RuleCompilerResultCopyright © 2018 SAP SE. All Rights Reserved.