public class NoSkipStrategy extends AfterMatchSkipStrategy
Modifier and Type | Method and Description |
---|---|
protected EventId |
getPruningId(Collection<Map<String,List<EventId>>> match)
Retrieves event id of the pruning element from the given match based on the strategy.
|
boolean |
isSkipStrategy()
Tells if the strategy may skip some matches.
|
protected boolean |
shouldPrune(EventId startEventID,
EventId pruningId)
Tells if the partial/completed match starting at given id should be prunned by given
pruningId.
|
String |
toString() |
getPatternName, noSkip, prune, skipPastLastEvent, skipToFirst, skipToLast, skipToNext
public boolean isSkipStrategy()
AfterMatchSkipStrategy
isSkipStrategy
in class AfterMatchSkipStrategy
protected boolean shouldPrune(EventId startEventID, EventId pruningId)
AfterMatchSkipStrategy
shouldPrune
in class AfterMatchSkipStrategy
startEventID
- starting event id of a partial/completed matchpruningId
- pruningId calculated by this strategyprotected EventId getPruningId(Collection<Map<String,List<EventId>>> match)
AfterMatchSkipStrategy
getPruningId
in class AfterMatchSkipStrategy
match
- match corresponding to which should the pruning happenCopyright © 2014–2021 The Apache Software Foundation. All rights reserved.