Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
Context |
|
| 1.0;1 |
1 | package org.kuali.rice.krms.framework.engine; | |
2 | ||
3 | import java.util.List; | |
4 | ||
5 | import org.kuali.rice.krms.api.engine.ExecutionEnvironment; | |
6 | import org.kuali.rice.krms.api.engine.TermResolver; | |
7 | ||
8 | /** | |
9 | * The context represents the area(s) of an organization's activity where a | |
10 | * rule applies and where the terms used to create the rule are defined and relevant. | |
11 | * An equivalent phrase often used is business domain. Rules only make sense in a | |
12 | * particular context and because they must be evaluated against the information in | |
13 | * that domain or context. | |
14 | * | |
15 | * <p>For example, rules that are specifically authored and | |
16 | * that are meaningful in an application on a Research Proposal would be most | |
17 | * unlikely to make sense or be relevant in the context of a Student Record even | |
18 | * if the condition could be evaluated. | |
19 | * | |
20 | * @author Kuali Rice Team (rice.collab@kuali.org) | |
21 | * | |
22 | */ | |
23 | public interface Context { | |
24 | ||
25 | void execute(ExecutionEnvironment environment); | |
26 | ||
27 | List<TermResolver<?>> getTermResolvers(); | |
28 | ||
29 | } |