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:
    getPropertyValue()
    • Constructor Detail

      • ResourceExistsPropertyDefiner

        public ResourceExistsPropertyDefiner()
        Deprecated.
    • Method Detail

      • getResource

        public java.lang.String getResource()
        Deprecated.
      • setResource

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

        public java.lang.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