Interface ScriptDependencyTracker

All Known Implementing Classes:
AbstractScriptDependencyTracker

@NonNullByDefault public interface ScriptDependencyTracker
The ScriptDependencyTracker is an interface that script dependency trackers can implement to allow automatic re-loading if scripts on dependency changes
Author:
Jan N. Klug - Initial contribution
  • Method Details

    • getTracker

      Consumer<String> getTracker(String scriptId)
      Get the tracker for a given script identifier
      Parameters:
      scriptId - the unique id of the script
      Returns:
      a Consumer<String> that accepts a the path to a dependency
    • removeTracking

      void removeTracking(String scriptId)
      Remove all tracking data for a given scipt identifier
      Parameters:
      scriptId - the uniwue id of the script