I start using KIE Drools Workbench and I practice in creating DRL files so I can tutor pepole that are not programmers in creating rules.
I know how to create a JAVA class within the Workbench but I need to know how to import a class I already wrote that will be part of the statement.
For example: Employer - class I create within the Workbench Employee - class I developed in eclipse and wish to import into the Workbench
So the drl could look like this:
when
$employer:Employer(isHappy == true)
then
Employee emp = new Employee();
emp.setSalary(100);
insert(emp);
end
Any idea how can I import JAVA bean to use in KIE Drools Workbench?
Thanks!