public class RuleExpressionResult extends Object
RuleExpression
evaluationConstructor and Description |
---|
RuleExpressionResult(Rule rule,
boolean success)
Constructs a rule expression result with a success indicator but no responsibilities
|
RuleExpressionResult(Rule rule,
boolean success,
List<RuleResponsibility> responsibilities)
Constructs a rule expression result with both a success indicator and a list of responsibilities
|
RuleExpressionResult(Rule rule,
boolean success,
RuleResponsibility responsibility)
Constructs a rule expression result with both a success indicator and a single responsibilities
|
public RuleExpressionResult(Rule rule, boolean success)
success
- whether the expression succeededpublic RuleExpressionResult(Rule rule, boolean success, List<RuleResponsibility> responsibilities)
success
- whether the expression succeededresponsibilities
- any responsibilities generated from a successful evaluationpublic RuleExpressionResult(Rule rule, boolean success, RuleResponsibility responsibility)
success
- whether the expression succeededresponsibility
- a single responsibility generated from a successful evaluationpublic boolean isSuccess()
public List<RuleResponsibility> getResponsibilities()
Copyright © 2005-2015 The Kuali Foundation. All Rights Reserved.