@Test public void testGetUpdatedElements() { Element node1 = new NodeImpl<>("parent"); tested.addElement(node1); assertEquals("node 1 should be returned from Updated Elements", node1, tested.getUpdatedElements().get(0)); }
public List<Element> getUpdatedElements() { return updatedElements; }
QueueGraphExecutionContext extends AbstractGraphCommandExecutionContext { public List<Element> getUpdatedElements() { return updatedElements; } }
QueueGraphExecutionContext extends AbstractGraphCommandExecutionContext { public List<Element> getUpdatedElements() { return updatedElements; } 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 List<Element> getUpdatedElements() { return updatedElements; } 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 List<Element> getUpdatedElements() { return updatedElements; } 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();  }