Class ResourceExistsPropertyDefiner

All Implemented Interfaces:
ContextAware, PropertyDefiner

@Deprecated(since="2022-01-27") public class ResourceExistsPropertyDefiner extends PropertyDefinerBase
Deprecated.
This internal logback API is not supported by AEM as a Cloud Service.
In conjunction with PropertyAction sets the named variable to "true" if the resource specified by the user is available on the class path, "false" otherwise.
Since:
1.1.0
See Also:
  • Constructor Details

    • ResourceExistsPropertyDefiner

      public ResourceExistsPropertyDefiner()
      Deprecated.
  • Method Details

    • getResource

      public String getResource()
      Deprecated.
    • setResource

      public void setResource(String resource)
      Deprecated.
      The resource to search for on the class path.
      Parameters:
      resource -
    • getPropertyValue

      public String getPropertyValue()
      Deprecated.
      Returns the string "true" if the resource specified by the user is available on the class path, "false" otherwise.
      Returns:
      "true"|"false" depending on the availability of resource on the classpath