Class RequirementEvaluation
java.lang.Object
ch.tocco.nice2.optional.educationrequirement.impl.requirementevaluation.RequirementEvaluation
- All Implemented Interfaces:
AutoCloseable
-
Constructor Summary
ConstructorDescriptionRequirementEvaluation
(org.kie.api.KieBase knowledgeBase, Entity entity, EntitiesContextFactory entitiesContextFactory) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
addFacts
(Collection<Object> facts) void
addRequirement
(Requirement requirement) void
addRequirements
(Iterable<Requirement> requirements) void
close()
evaluate()
void
getRequirement
(String uniqueId)
-
Constructor Details
-
RequirementEvaluation
public RequirementEvaluation(org.kie.api.KieBase knowledgeBase, Entity entity, EntitiesContextFactory entitiesContextFactory)
-
-
Method Details
-
addFact
-
addFacts
-
addRequirements
-
addRequirement
-
getRequirement
-
getRequirements
-
getEntity
-
forceShutDown
public void forceShutDown() -
evaluate
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-