Package ch.qos.logback.core.joran.spi
Class ElementSelector
- java.lang.Object
-
- ch.qos.logback.core.joran.spi.ElementPath
-
- ch.qos.logback.core.joran.spi.ElementSelector
-
@Deprecated(since="2022-01-27") public class ElementSelector extends ElementPath
Deprecated.This internal logback API is not supported by AEM as a Cloud Service.ElementSelector extendsElementPath
with matching operations such asfullPathMatch(ElementPath)
,getPrefixMatchLength(ElementPath)
andgetTailMatchLength(ElementPath)
.Parts of the path may contain '*' for wildcard matching.
- Since:
- 1.1.0
-
-
Constructor Summary
Constructors Constructor Description ElementSelector()
Deprecated.ElementSelector(java.lang.String p)
Deprecated.Build an elementPath from a string.ElementSelector(java.util.List<java.lang.String> list)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
Deprecated.boolean
fullPathMatch(ElementPath path)
Deprecated.int
getPrefixMatchLength(ElementPath p)
Deprecated.Returns the number of "prefix" components that this pattern has in common with the pattern p passed as parameter.int
getTailMatchLength(ElementPath p)
Deprecated.Returns the number of "tail" components that this pattern has in common with the pattern p passed as parameter.int
hashCode()
Deprecated.boolean
isContainedIn(ElementPath p)
Deprecated.-
Methods inherited from class ch.qos.logback.core.joran.spi.ElementPath
duplicate, get, getCopyOfPartList, peekLast, pop, push, size, toString
-
-
-
-
Constructor Detail
-
ElementSelector
public ElementSelector()
Deprecated.
-
ElementSelector
public ElementSelector(java.util.List<java.lang.String> list)
Deprecated.
-
ElementSelector
public ElementSelector(java.lang.String p)
Deprecated.Build an elementPath from a string. Note that "/x" is considered equivalent to "x" and to "x/"
-
-
Method Detail
-
fullPathMatch
public boolean fullPathMatch(ElementPath path)
Deprecated.
-
getTailMatchLength
public int getTailMatchLength(ElementPath p)
Deprecated.Returns the number of "tail" components that this pattern has in common with the pattern p passed as parameter. By "tail" components we mean the components at the end of the pattern.
-
isContainedIn
public boolean isContainedIn(ElementPath p)
Deprecated.
-
getPrefixMatchLength
public int getPrefixMatchLength(ElementPath p)
Deprecated.Returns the number of "prefix" components that this pattern has in common with the pattern p passed as parameter. By "prefix" components we mean the components at the beginning of the pattern.
-
equals
public boolean equals(java.lang.Object o)
Deprecated.- Overrides:
equals
in classElementPath
-
hashCode
public int hashCode()
Deprecated.- Overrides:
hashCode
in classjava.lang.Object
-
-