Class MultiScriptLoader

  • All Implemented Interfaces:
    ScriptLoader

    public class MultiScriptLoader
    extends java.lang.Object
    implements ScriptLoader
    Composite script loader
    Author:
    davidc
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ScriptContent getScript​(java.lang.String path)
      Gets the script location for the script at the specified path
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MultiScriptLoader

        public MultiScriptLoader​(ScriptLoader[] loaders)
        Construct
        Parameters:
        loaders - ScriptLoader[]
    • Method Detail

      • getScript

        public ScriptContent getScript​(java.lang.String path)
        Description copied from interface: ScriptLoader
        Gets the script location for the script at the specified path
        Specified by:
        getScript in interface ScriptLoader
        Parameters:
        path - path within api store
        Returns:
        script location (or null, if script does not exist at path)