[rules-users] Alternative to instanceof when matching against multiple concrete types under the same hiearchy?

lhorton LHorton at ABCLegal.com
Wed Sep 7 22:52:59 EDT 2011


if you write

when
    $type : Interface()


then $type will pick up both your ConcreteType1 and ConcreteType2



--
View this message in context: http://drools.46999.n3.nabble.com/Alternative-to-instanceof-when-matching-against-multiple-concrete-types-under-the-same-hiearchy-tp3314751p3318562.html
Sent from the Drools: User forum mailing list archive at Nabble.com.



More information about the rules-users mailing list