Prev | Top | Next |
rule "Check all Item integer ranges" when $item: Item() $cond: IntRangeCheck( clazz == ( Item.class ) ) eval( ! $cond.isValid( $item ) ) then System.out.println( $cond.getError() + " " + $item.toString() ); end
rule "Check all integer ranges" when $fact: Object() $cond: IntRangeCheck( clazz == ( $fact.getClass() ) ) eval( ! $cond.isValid( $fact ) ) then System.out.println( $cond.getError() + " " + $fact.toString() ); end
Prev | Top | Next |