public class ResourceExistsPropertyDefiner extends PropertyDefinerBase
PropertyAction
sets
the named variable to "true" if the resource
specified
by the user is available on the class path, "false" otherwise.getPropertyValue()
context
Constructor and Description |
---|
ResourceExistsPropertyDefiner() |
Modifier and Type | Method and Description |
---|---|
String |
getPropertyValue()
Returns the string "true" if the
resource specified by the
user is available on the class path, "false" otherwise. |
String |
getResource() |
void |
setResource(String resource)
The resource to search for on the class path.
|
booleanAsStr
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContext
public ResourceExistsPropertyDefiner()
public String getResource()
public void setResource(String resource)
resource
- public String getPropertyValue()
resource
specified by the
user is available on the class path, "false" otherwise.Copyright © 2005–2018 QOS.ch. All rights reserved.