Class ScriptPluginLoader<A extends ApplicationComponent>

    • Constructor Detail

      • ScriptPluginLoader

        public ScriptPluginLoader​(PluginManager<A> pluginManager)
    • Method Detail

      • getLoadException

        public Exception getLoadException​(Path file)
      • load

        public void load​(Path scriptDir,
                         ClassLoader classLoader)
                  throws IOException
        Loads all scripts from the given directory and registers them with the PluginManager.
        Parameters:
        scriptDir - script dir
        classLoader - classLoader
        Throws:
        IOException - if we cannot list the script files