@Test public void testResetUpdatedElements() { Element parent = new NodeImpl<>("parent"); tested.addElement(parent); assertEquals("Should be One Element in Updated Elements", 1, tested.getUpdatedElements().size()); tested.resetUpdatedElements(); assertEquals("Updated Elements should be empty", 0, tested.getUpdatedElements().size()); }
public void resetUpdatedElements() { updatedElements.clear(); }
QueueGraphExecutionContext extends AbstractGraphCommandExecutionContext { public void resetUpdatedElements() { updatedElements.clear(); } }
QueueGraphExecutionContext extends AbstractGraphCommandExecutionContext { public void resetUpdatedElements() { updatedElements.clear(); } QueueGraphExecutionContext(final DefinitionManager definitionManager,
                                      final FactoryManager factoryManager,
                                      final RuleManager ruleManager,
                                      final Index<?, ?> graphIndex,
                                      final RuleSet ruleSet);   QueueGraphExecutionContext(final DefinitionManager definitionManager,
                               final FactoryManager factoryManager,
                               final RuleManager ruleManager,
                               final RuleEvaluationContextBuilder.StatefulGraphContextBuilder contextBuilder,
                               final Index<?, ?> graphIndex,
                               final RuleSet ruleSet); }
QueueGraphExecutionContext extends AbstractGraphCommandExecutionContext { public void resetUpdatedElements() { updatedElements.clear(); } QueueGraphExecutionContext(final DefinitionManager definitionManager,
                                      final FactoryManager factoryManager,
                                      final RuleManager ruleManager,
                                      final Index<?, ?> graphIndex,
                                      final RuleSet ruleSet);   QueueGraphExecutionContext(final DefinitionManager definitionManager,
                               final FactoryManager factoryManager,
                               final RuleManager ruleManager,
                               final RuleEvaluationContextBuilder.StatefulGraphContextBuilder contextBuilder,
                               final Index<?, ?> graphIndex,
                               final RuleSet ruleSet); void clear(); @Override RuleViolations evaluate(final GraphEvaluationContext context); @Override RuleSet getRuleSet(); void addElement(final Element candidate); List<Element> getUpdatedElements(); void resetUpdatedElements(); }
QueueGraphExecutionContext extends AbstractGraphCommandExecutionContext { public void resetUpdatedElements() { updatedElements.clear(); } QueueGraphExecutionContext(final DefinitionManager definitionManager,
                                      final FactoryManager factoryManager,
                                      final RuleManager ruleManager,
                                      final Index<?, ?> graphIndex,
                                      final RuleSet ruleSet);   QueueGraphExecutionContext(final DefinitionManager definitionManager,
                               final FactoryManager factoryManager,
                               final RuleManager ruleManager,
                               final RuleEvaluationContextBuilder.StatefulGraphContextBuilder contextBuilder,
                               final Index<?, ?> graphIndex,
                               final RuleSet ruleSet); void clear(); @Override RuleViolations evaluate(final GraphEvaluationContext context); @Override RuleSet getRuleSet(); void addElement(final Element candidate); List<Element> getUpdatedElements(); void resetUpdatedElements();  }