Class Property

java.lang.Object
pl.tkowalcz.tjahzi.log4j2.Property
Direct Known Subclasses:
Header

public class Property extends Object
Class copied from org.apache.logging.log4j.core.config.Property. I have no idea how to reuse that class while assigning it a custom tag name e.g. headers/labels.
  • Constructor Details

  • Method Details

    • getName

      public String getName()
      Returns the property name.
      Returns:
      the property name.
    • getValue

      public String getValue()
      Returns the property value.
      Returns:
      the value of the property.
    • isValueNeedsLookup

      public boolean isValueNeedsLookup()
      Returns true if the value contains a substitutable property that requires a lookup to be resolved.
      Returns:
      true if the value contains
      invalid @code
      {@code "${"}, {@code false} otherwise
    • toString

      public String toString()
      Overrides:
      toString in class Object