java.lang.Object
ch.qos.logback.core.joran.util.ConfigurationWatchListUtil
A thin layer on top of
ConfigurationWatchList.- Author:
- Ceki Gülcü
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddToWatchList(Context context, URL url) static voidaddToWatchList(Context context, URL url, boolean createCWL) static ConfigurationWatchListgetConfigurationWatchList(Context context) static URLgetMainWatchURL(Context context) static voidregisterConfigurationWatchList(Context context, ConfigurationWatchList cwl) static ConfigurationWatchListstatic voidsetMainWatchURL(Context context, URL url) Sets the main configuration watch URL in the given context's configuration watch list.static booleanwatchPredicateFulfilled(Context context) Returns true if there are watchable files, false otherwise.
-
Method Details
-
registerConfigurationWatchList
-
setMainWatchURL
Sets the main configuration watch URL in the given context's configuration watch list. If the provided URL is null, the method exits without making any changes. If the configuration watch list is not initialized, an error is added to the context's status. Otherwise, the configuration watch list is cleared and the given URL is set as the main URL.- Parameters:
context- the context in which the configuration watch list is managedurl- the main configuration watch URL to be set; if null, no action is taken
-
watchPredicateFulfilled
Returns true if there are watchable files, false otherwise.- Returns:
- true if there are watchable files, false otherwise.
- Since:
- 1.5.8
-
getMainWatchURL
-
addToWatchList
-
addToWatchList
-
registerNewConfigurationWatchListWithContext
-
getConfigurationWatchList
-