@Target(value={METHOD,FIELD}) @Retention(value=RUNTIME) public @interface ProblemFactCollectionProperty
PlanningSolution
class is a Collection
of problem facts.
A problem fact must not change during solving (except through ProblemFactChange
event).
The problem facts will be added as facts in the KieSession
of the DroolsScoreDirector
,
so the score rules can use them.
Do not annotate planning entities
as problem facts:
they are automatically inserted into the KieSession
.
ProblemFactProperty
Copyright © 2006–2018 JBoss by Red Hat. All rights reserved.