예제 #1
0
  @Override
  public void removeEagerRuleAgendaItem(RuleAgendaItem item) {
    if (!item.isInList()) {
      return;
    }

    if (log.isTraceEnabled()) {
      log.trace("Removed {} from eager evaluation list.", item.getRule().getName());
    }
    eager.remove(item);
  }
예제 #2
0
  @Override
  public void addEagerRuleAgendaItem(RuleAgendaItem item) {
    if (item.isInList()) {
      return;
    }

    if (log.isTraceEnabled()) {
      log.trace("Added {} to eager evaluation list.", item.getRule().getName());
    }
    eager.add(item);
  }