Interface ScriptSource
-
public interface ScriptSourceA script source might contain one or multiple modules defined in the same source.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Map<String,Object>bindings()default Readerget()longmoduleId()Stringresource()Returns the script source file path.Collection<String>scriptModuleNames()Returns the name of the registered script module in the source file path.
-
-
-
Method Detail
-
moduleId
long moduleId()
-
resource
String resource()
Returns the script source file path.- Returns:
- the script resource file name in the module package.
-
scriptModuleNames
Collection<String> scriptModuleNames()
Returns the name of the registered script module in the source file path.- Returns:
- the name of the script modules in the source file.
-
get
default Reader get()
-
-