Module org.elasticsearch.xcore
Class Automatons
java.lang.Object
org.elasticsearch.xpack.core.security.support.Automatons
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.apache.lucene.util.automaton.Automatonstatic final org.apache.lucene.util.automaton.Automatonstatic boolean -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddSettings(List<Setting<?>> settingsList) static org.apache.lucene.util.automaton.AutomatonintersectAndMinimize(org.apache.lucene.util.automaton.Automaton a1, org.apache.lucene.util.automaton.Automaton a2) static booleanisLuceneRegex(String str) Is the str a lucene type of patternstatic org.apache.lucene.util.automaton.AutomatonminusAndMinimize(org.apache.lucene.util.automaton.Automaton a1, org.apache.lucene.util.automaton.Automaton a2) static org.apache.lucene.util.automaton.AutomatonBuilds and returns an automaton that will represent the union of all the given patterns.static org.apache.lucene.util.automaton.Automatonpatterns(Collection<String> patterns) Builds and returns an automaton that will represent the union of all the given patterns.predicate(Collection<String> patterns) predicate(org.apache.lucene.util.automaton.Automaton automaton) static org.apache.lucene.util.automaton.AutomatonunionAndMinimize(Collection<org.apache.lucene.util.automaton.Automaton> automata) static voidupdateConfiguration(Settings settings)
-
Field Details
-
EMPTY
public static final org.apache.lucene.util.automaton.Automaton EMPTY -
MATCH_ALL
public static final org.apache.lucene.util.automaton.Automaton MATCH_ALL -
recordPatterns
public static boolean recordPatterns
-
-
Method Details
-
patterns
Builds and returns an automaton that will represent the union of all the given patterns. -
patterns
Builds and returns an automaton that will represent the union of all the given patterns. -
isLuceneRegex
Is the str a lucene type of pattern -
unionAndMinimize
public static org.apache.lucene.util.automaton.Automaton unionAndMinimize(Collection<org.apache.lucene.util.automaton.Automaton> automata) -
minusAndMinimize
public static org.apache.lucene.util.automaton.Automaton minusAndMinimize(org.apache.lucene.util.automaton.Automaton a1, org.apache.lucene.util.automaton.Automaton a2) -
intersectAndMinimize
public static org.apache.lucene.util.automaton.Automaton intersectAndMinimize(org.apache.lucene.util.automaton.Automaton a1, org.apache.lucene.util.automaton.Automaton a2) -
predicate
-
predicate
-
predicate
-
updateConfiguration
-
addSettings
-