I gave pojos like
Customer{
List<String> groups;
}
Master{
List<String> groups;
}
I want to check conditions like
master1.groups.containsAny(customer1.groups);
and also
master1.groups.containsAll(customer1.groups);
How can i write drools condition for these two? Thanks in advance.