Class AbstractScriptDependencyTracker

java.lang.Object
org.openhab.core.automation.module.script.rulesupport.loader.AbstractScriptDependencyTracker
All Implemented Interfaces:
ScriptDependencyTracker, WatchService.WatchEventListener

@NonNullByDefault public abstract class AbstractScriptDependencyTracker extends Object implements ScriptDependencyTracker, WatchService.WatchEventListener
The AbstractScriptDependencyTracker tracks dependencies between scripts and reloads dependees It needs to be sub-classed for each ScriptEngineFactory that wants to support dependency tracking
Author:
Jonathan Gilbert - Initial contribution, Jan N. Klug - Refactored to OSGi service
  • Field Details

    • libraryPath

      protected final Path libraryPath
  • Constructor Details

    • AbstractScriptDependencyTracker

      protected AbstractScriptDependencyTracker(WatchService watchService, String fileDirectory)
  • Method Details