public class ComputationState.ConditionContext extends Object implements IterativeCondition.Context<T>
Constructor and Description |
---|
ConditionContext(NFA<T> nfa,
ComputationState<T> computationState) |
public ConditionContext(NFA<T> nfa, ComputationState<T> computationState)
public Iterable<T> getEventsForPattern(String key)
getEventsForPattern
in interface IterativeCondition.Context<T>
key
- The name of the pattern.Iterable
over the already accepted elements
for a given pattern. Elements are iterated in the order they were
inserted in the pattern.Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.