T
- Base type of the elements appearing in the patternF
- Subtype of T to which the current pattern operator is constrainedpublic class GroupPattern<T,F extends T> extends Pattern<T,F>
Modifier and Type | Method and Description |
---|---|
Pattern<T,? extends T> |
getRawPattern() |
Pattern<T,F> |
or(IterativeCondition<F> condition)
Adds a condition that has to be satisfied by an event in order to be considered a match.
|
<S extends F> |
subtype(Class<S> subtypeClass)
Applies a subtype constraint on the current pattern.
|
Pattern<T,F> |
where(IterativeCondition<F> condition)
Adds a condition that has to be satisfied by an event in order to be considered a match.
|
allowCombinations, begin, begin, begin, begin, consecutive, followedBy, followedBy, followedByAny, followedByAny, getAfterMatchSkipStrategy, getCondition, getName, getPrevious, getQuantifier, getTimes, getUntilCondition, getWindowTime, getWindowTime, greedy, next, next, notFollowedBy, notNext, oneOrMore, oneOrMore, optional, times, times, times, times, timesOrMore, timesOrMore, toString, until, within, within
public Pattern<T,F> where(IterativeCondition<F> condition)
Pattern
AND
. In other case, this is going to be the only condition.public Pattern<T,F> or(IterativeCondition<F> condition)
Pattern
OR
. In other case, this is going to be the only condition.public <S extends F> Pattern<T,S> subtype(Class<S> subtypeClass)
Pattern
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.