Package ch.qos.logback.core.property
Class FileExistsPropertyDefiner
- java.lang.Object
-
- ch.qos.logback.core.spi.ContextAwareBase
-
- ch.qos.logback.core.PropertyDefinerBase
-
- ch.qos.logback.core.property.FileExistsPropertyDefiner
-
- All Implemented Interfaces:
ContextAware
,PropertyDefiner
@Deprecated(since="2022-01-27") public class FileExistsPropertyDefiner extends PropertyDefinerBase
Deprecated.This internal logback API is not supported by AEM as a Cloud Service.In conjunction withPropertyAction
sets the named variable to "true" if the file specified bypath
property exists, to "false" otherwise.- See Also:
getPropertyValue()
-
-
Constructor Summary
Constructors Constructor Description FileExistsPropertyDefiner()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.String
getPath()
Deprecated.java.lang.String
getPropertyValue()
Deprecated.Returns "true" if the file specified bypath
property exists.void
setPath(java.lang.String path)
Deprecated.The path for the file to search for.-
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getStatusManager, setContext
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface ch.qos.logback.core.spi.ContextAware
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContext
-
-
-
-
Method Detail
-
getPath
public java.lang.String getPath()
Deprecated.
-
setPath
public void setPath(java.lang.String path)
Deprecated.The path for the file to search for.- Parameters:
path
-
-
getPropertyValue
public java.lang.String getPropertyValue()
Deprecated.Returns "true" if the file specified bypath
property exists. Returns "false" otherwise.- Returns:
- "true"|"false" depending on the existence of file
-
-