Package ch.qos.logback.core.joran.spi
Class ConfigurationWatchList
- java.lang.Object
-
- ch.qos.logback.core.spi.ContextAwareBase
-
- ch.qos.logback.core.joran.spi.ConfigurationWatchList
-
- All Implemented Interfaces:
ContextAware
public class ConfigurationWatchList extends ContextAwareBase
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.util.List<java.io.File>
fileWatchList
(package private) java.util.List<java.lang.Long>
lastModifiedList
(package private) java.net.URL
mainURL
-
Fields inherited from class ch.qos.logback.core.spi.ContextAwareBase
context
-
-
Constructor Summary
Constructors Constructor Description ConfigurationWatchList()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
addAsFileToWatch(java.net.URL url)
void
addToWatchList(java.net.URL url)
ConfigurationWatchList
buildClone()
boolean
changeDetected()
void
clear()
(package private) java.io.File
convertToFile(java.net.URL url)
java.util.List<java.io.File>
getCopyOfFileWatchList()
java.net.URL
getMainURL()
void
setMainURL(java.net.URL mainURL)
The mainURL for the configuration file.-
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
-
-
-
-
Method Detail
-
buildClone
public ConfigurationWatchList buildClone()
-
clear
public void clear()
-
setMainURL
public void setMainURL(java.net.URL mainURL)
The mainURL for the configuration file. Null values are allowed.- Parameters:
mainURL
-
-
addAsFileToWatch
private void addAsFileToWatch(java.net.URL url)
-
addToWatchList
public void addToWatchList(java.net.URL url)
-
getMainURL
public java.net.URL getMainURL()
-
getCopyOfFileWatchList
public java.util.List<java.io.File> getCopyOfFileWatchList()
-
changeDetected
public boolean changeDetected()
-
convertToFile
java.io.File convertToFile(java.net.URL url)
-
-