FilterCondition. @see Condition @author bob mcwhirter
. @see Condition @author bob mcwhirter
139140141142143144145146147148
return ( ( Number ) answer ).intValue( ) != 0; } catch ( Exception e ) { throw new ConditionException( e, getRule( ), getText( ) ); } }
8081828384858687
public boolean isAllowed(Tuple tuple) throws ConditionException { try { return ((Boolean)ruleMethod.invokeMethod(tuple)).booleanValue(); } catch (Exception e) { throw new ConditionException(e); } }
173174175176177178179180181182
this.requiredDeclarations, tuple.getWorkingMemory().getApplicationDataMap() ); } catch ( Exception e ) { throw new ConditionException( e, this.rule, this.expression ); } }