public void update( final org.drools.runtime.rule.FactHandle factHandle, final Object object, final long mask, final Activation activation) throws FactException { update((org.drools.FactHandle) factHandle, object, mask, activation); }
public void propertyChange(final PropertyChangeEvent event) { final Object object = event.getSource(); try { FactHandle handle = getFactHandle(object); if (handle == null) { throw new FactException( "Update error: handle not found for object: " + object + ". Is it in the working memory?"); } update(handle, object); } catch (final FactException e) { throw new RuntimeDroolsException(e.getMessage()); } }
public void update(final org.drools.runtime.rule.FactHandle handle, final Object object) throws FactException { update(handle, object, Long.MAX_VALUE, null); }