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 boolean
private boolean
private String
private Pattern
private String
private boolean
private boolean
Fields inherited from class ch.qos.logback.core.spi.ContextAwareBase
context
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()
getRegex()
boolean
boolean
boolean
boolean
boolean
Checks whether the input matches the regular expression.void
setCanonEq
(boolean canonEq) void
setCaseSensitive
(boolean caseSensitive) void
void
void
setUnicodeCase
(boolean unicodeCase) void
start()
void
stop()
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
-