java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.joran.spi.ConfigurationWatchList
- All Implemented Interfaces:
ContextAware
- Author:
- Ceki Gülcü
-
Field Summary
Fields inherited from class ch.qos.logback.core.spi.ContextAwareBase
context -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddToWatchList(URL url) Add the url but only if it is file://.voidclear()booleanReturns true if there are watchable files, false otherwise.voidsetMainURL(URL mainURL) The mainURL for the configuration file.booleanMethods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
-
Constructor Details
-
ConfigurationWatchList
public ConfigurationWatchList()
-
-
Method Details
-
buildClone
-
clear
-
setMainURL
The mainURL for the configuration file. Null values are allowed.- Parameters:
mainURL-
-
watchPredicateFulfilled
-
addToWatchList
Add the url but only if it is file://.- Parameters:
url- should be a file
-
getMainURL
-
getCopyOfFileWatchList
-
changeDetected
-
hasAtLeastOneWatchableFile
Returns true if there are watchable files, false otherwise.- Returns:
- true if there are watchable files, false otherwise.
- Since:
- 1.5.8
-