kiegroup / optaplanner-training

A stale training course for OptaPlanner. Please use the optaplanner-quickstarts repo instead.

Home Page:https://www.optaplanner.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rule always false

EsajeeSolutions opened this issue · comments

i checked this rule, it return false always, or might be issue of java version, i am using 1.8,

!getEmployee().getSkillSet().contains(getSpot().getRequiredSkill()))

contains check for same type, but getSpot.getRequiredSkill() is string type, so i have to declare function in employee to get skill name ( my case was one fixed skill )