Class ScriptManager
java.lang.Object
org.apache.logging.log4j.core.script.ScriptManager
- All Implemented Interfaces:
FileWatcher
Manages the scripts use by the Configuration.
-
Constructor Summary
ConstructorsConstructorDescriptionScriptManager(Configuration configuration, WatchManager watchManager, String scriptLanguages) -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddScript(AbstractScript script) createBindings(AbstractScript script) voidfileModified(File file) Called when aWatchManagerdetects that the givenFilechanged.
-
Constructor Details
-
ScriptManager
public ScriptManager(Configuration configuration, WatchManager watchManager, String scriptLanguages)
-
-
Method Details
-
getAllowedLanguages
-
addScript
-
createBindings
-
getScript
-
fileModified
Description copied from interface:FileWatcherCalled when aWatchManagerdetects that the givenFilechanged.- Specified by:
fileModifiedin interfaceFileWatcher- Parameters:
file- the file that changed.- See Also:
-
execute
-