Skip navigation links
B C F G I L Q R S W 

B

BeanTestFact - Class in clara.test.facts
A Java Pojo for the express purpose of testing the behavior of compilation and execution of rules.
BeanTestFact(String[]) - Constructor for class clara.test.facts.BeanTestFact
 

C

clara.rules - package clara.rules
The Java API for working Clara rules.
clara.test.facts - package clara.test.facts
 

F

fireRules() - Method in interface clara.rules.WorkingMemory
Fires any pending rules in the working memory, and returns a new working memory with the rules in a fired state.

G

getLocations() - Method in class clara.test.facts.BeanTestFact
 
getLocations(int) - Method in class clara.test.facts.BeanTestFact
 
getResult(String) - Method in interface clara.rules.QueryResult
Returns the object matching the field specified in the query.
getRoadConditions(int) - Method in class clara.test.facts.BeanTestFact
 

I

insert(Iterable<?>) - Method in interface clara.rules.WorkingMemory
Returns a new working memory with the given facts inserted

L

loadRules(String...) - Static method in class clara.rules.RuleLoader
Returns a new working memory with rules loaded from the given namespaces.

Q

query(String, Map<String, ?>) - Method in interface clara.rules.WorkingMemory
Runs the query by the given name against the working memory and returns the matching results.
query(String) - Method in interface clara.rules.WorkingMemory
Runs the query by the given name against the working memory and returns the matching results.
QueryResult - Interface in clara.rules
Result of a Clara query.

R

retract(Iterable<?>) - Method in interface clara.rules.WorkingMemory
Returns a new working memory with the given facs retracted
RuleLoader - Class in clara.rules
Clara rule loader.
RuleLoader() - Constructor for class clara.rules.RuleLoader
 

S

setLocations(String[]) - Method in class clara.test.facts.BeanTestFact
 
setLocations(int, String) - Method in class clara.test.facts.BeanTestFact
 
setRoadConditions(int, String) - Method in class clara.test.facts.BeanTestFact
 

W

WorkingMemory - Interface in clara.rules
An immutable working memory of Clara rules.
B C F G I L Q R S W 
Skip navigation links