Package ch.qos.logback.core.property
Class ResourceExistsPropertyDefiner
java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.PropertyDefinerBase
ch.qos.logback.core.property.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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Returns the string "true" if theresourcespecified by the user is available on the class path, "false" otherwise.Deprecated.voidsetResource(String resource) Deprecated.The resource to search for on the class path.Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getStatusManager, setContextMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ch.qos.logback.core.spi.ContextAware
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContext
-
Constructor Details
-
ResourceExistsPropertyDefiner
public ResourceExistsPropertyDefiner()Deprecated.
-
-
Method Details
-
getResource
Deprecated. -
setResource
Deprecated.The resource to search for on the class path.- Parameters:
resource-
-
getPropertyValue
Deprecated.Returns the string "true" if theresourcespecified by the user is available on the class path, "false" otherwise.- Returns:
- "true"|"false" depending on the availability of resource on the classpath
-