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 extends ElementPath with matching operations such as fullPathMatch(ElementPath), getPrefixMatchLength(ElementPath) and getTailMatchLength(ElementPath).

Parts of the path may contain '*' for wildcard matching.

Since:
1.1.0
  • Constructor Details

    • ElementSelector

      public ElementSelector()
      Deprecated.
    • ElementSelector

      public ElementSelector(List<String> list)
      Deprecated.
    • ElementSelector

      public ElementSelector(String p)
      Deprecated.
      Build an elementPath from a string. Note that "/x" is considered equivalent to "x" and to "x/"
  • Method Details

    • 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:
      equals in class ElementPath
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Object