Class ResourceExistsPropertyDefiner

All Implemented Interfaces:
ContextAware, PropertyDefiner

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
Author:
XuHuisheng, Ceki Gulcu
See Also:
  • Constructor Details

  • Method Details

    • getResource

      public String getResource()
    • setResource

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

      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