Package org.kuali.rice.krms.api.engine
Interface TermResolutionEngine
public interface TermResolutionEngine
Interface for the engine that is used to resolve
Terms.- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddTermResolver(TermResolver<?> termResolver) Adds aTermResolverto theTermResolutionEngine.voidaddTermValue(Term term, Object value) Adds a fact value to theTermResolutionEngine's internal state<T> TresolveTerm(Term term) Resolves a given term into a fact
-
Method Details
-
resolveTerm
Resolves a given term into a fact- Parameters:
term- theTermto resolve- Returns:
- the fact value for the given
Term - Throws:
TermResolutionException
-
addTermValue
Adds a fact value to theTermResolutionEngine's internal state- Parameters:
term- the named Termvalue- the fact value
-
addTermResolver
Adds aTermResolverto theTermResolutionEngine. Once added, it may be used (unsurprisingly) by the engine to resolveTerms.- Parameters:
termResolver- theTermResolverto add.
-