public class NFACompiler extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
NFACompiler.NFAFactory<T>
Factory interface for
NFA . |
Modifier and Type | Field and Description |
---|---|
protected static String |
ENDING_STATE_NAME |
Constructor and Description |
---|
NFACompiler() |
Modifier and Type | Method and Description |
---|---|
static boolean |
canProduceEmptyMatches(Pattern<?,?> pattern)
Verifies if the provided pattern can possibly generate empty match.
|
static <T> NFACompiler.NFAFactory<T> |
compileFactory(Pattern<T,?> pattern,
boolean timeoutHandling)
Compiles the given pattern into a
NFACompiler.NFAFactory . |
protected static final String ENDING_STATE_NAME
public static <T> NFACompiler.NFAFactory<T> compileFactory(Pattern<T,?> pattern, boolean timeoutHandling)
NFACompiler.NFAFactory
. The NFA factory can be used to create
multiple NFAs.T
- Type of the input eventspattern
- Definition of sequence patterntimeoutHandling
- True if the NFA shall return timed out event patternspublic static boolean canProduceEmptyMatches(Pattern<?,?> pattern)
pattern
- pattern to checkCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.