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 extendsElementPathwith 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(String p)Deprecated.Build an elementPath from a string.ElementSelector(List<String> list)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(Object o)Deprecated.booleanfullPathMatch(ElementPath path)Deprecated.intgetPrefixMatchLength(ElementPath p)Deprecated.Returns the number of "prefix" components that this pattern has in common with the pattern p passed as parameter.intgetTailMatchLength(ElementPath p)Deprecated.Returns the number of "tail" components that this pattern has in common with the pattern p passed as parameter.inthashCode()Deprecated.booleanisContainedIn(ElementPath p)Deprecated.-
Methods inherited from class ch.qos.logback.core.joran.spi.ElementPath
duplicate, get, getCopyOfPartList, peekLast, pop, push, size, toString
-
-
-
-
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(Object o)
Deprecated.- Overrides:
equalsin classElementPath
-
-