Package ch.qos.logback.core.boolex
Class Matcher
java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.boolex.Matcher
- All Implemented Interfaces:
ContextAware,LifeCycle
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate booleanprivate Stringprivate Patternprivate Stringprivate booleanprivate booleanFields inherited from class ch.qos.logback.core.spi.ContextAwareBase
context -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()getRegex()booleanbooleanbooleanbooleanbooleanChecks whether the input matches the regular expression.voidsetCanonEq(boolean canonEq) voidsetCaseSensitive(boolean caseSensitive) voidvoidvoidsetUnicodeCase(boolean unicodeCase) voidstart()voidstop()Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
-
Field Details
-
regex
-
name
-
caseSensitive
private boolean caseSensitive -
canonEq
private boolean canonEq -
unicodeCase
private boolean unicodeCase -
start
private boolean start -
pattern
-
-
Constructor Details
-
Matcher
public Matcher()
-
-
Method Details
-
getRegex
-
setRegex
-
start
public void start() -
stop
public void stop() -
isStarted
public boolean isStarted() -
matches
Checks whether the input matches the regular expression.- Parameters:
input-- Returns:
- Throws:
EvaluationException
-
isCanonEq
public boolean isCanonEq() -
setCanonEq
public void setCanonEq(boolean canonEq) -
isCaseSensitive
public boolean isCaseSensitive() -
setCaseSensitive
public void setCaseSensitive(boolean caseSensitive) -
isUnicodeCase
public boolean isUnicodeCase() -
setUnicodeCase
public void setUnicodeCase(boolean unicodeCase) -
getName
-
setName
-