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
public class Matcher extends ContextAwareBase implements LifeCycle
-
-
Constructor Summary
Constructors Constructor Description Matcher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetName()java.lang.StringgetRegex()booleanisCanonEq()booleanisCaseSensitive()booleanisStarted()booleanisUnicodeCase()booleanmatches(java.lang.String input)Checks whether the input matches the regular expression.voidsetCanonEq(boolean canonEq)voidsetCaseSensitive(boolean caseSensitive)voidsetName(java.lang.String name)voidsetRegex(java.lang.String regex)voidsetUnicodeCase(boolean unicodeCase)voidstart()voidstop()-
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getStatusManager, setContext
-
-
-
-
Method Detail
-
getRegex
public java.lang.String getRegex()
-
setRegex
public void setRegex(java.lang.String regex)
-
matches
public boolean matches(java.lang.String input) throws EvaluationExceptionChecks 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
public java.lang.String getName()
-
setName
public void setName(java.lang.String name)
-
-