Interface ScriptRegistry

    • Method Detail

      • register

        void register​(Script script)
        Registers a script
        Parameters:
        script - the script to register
      • unregister

        void unregister​(Script script)
        Unregisters a script
        Parameters:
        script - the script to unregister
      • getScript

        Script getScript​(Path path)
        Gets a script by path
        Parameters:
        path - the path
        Returns:
        a script for the path, or null
      • getAll

        Map<Path,​Script> getAll()
        Gets all scripts known to this registry
        Returns:
        the scripts