public class AfterMatchSkipStrategy extends Object implements Serializable
For more info on possible skip strategies see AfterMatchSkipStrategy.SkipStrategy
.
Modifier and Type | Class and Description |
---|---|
static class |
AfterMatchSkipStrategy.SkipStrategy
Skip Strategy Enum.
|
Modifier and Type | Method and Description |
---|---|
String |
getPatternName()
Get the referenced pattern name of this strategy.
|
AfterMatchSkipStrategy.SkipStrategy |
getStrategy()
Get the
AfterMatchSkipStrategy.SkipStrategy enum. |
static AfterMatchSkipStrategy |
noSkip()
Every possible match will be emitted.
|
static AfterMatchSkipStrategy |
skipPastLastEvent()
Discards every partial match that contains event of the match.
|
static AfterMatchSkipStrategy |
skipToFirst(String patternName)
Discards every partial match that contains event of the match preceding the first of *PatternName*.
|
static AfterMatchSkipStrategy |
skipToLast(String patternName)
Discards every partial match that contains event of the match preceding the last of *PatternName*.
|
String |
toString() |
public static AfterMatchSkipStrategy skipToFirst(String patternName)
patternName
- the pattern name to skip topublic static AfterMatchSkipStrategy skipToLast(String patternName)
patternName
- the pattern name to skip topublic static AfterMatchSkipStrategy skipPastLastEvent()
public static AfterMatchSkipStrategy noSkip()
public AfterMatchSkipStrategy.SkipStrategy getStrategy()
AfterMatchSkipStrategy.SkipStrategy
enum.public String getPatternName()
Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.