Klasse ScriptShell
java.lang.Object
de.luckymcdev.foundryengine.common.script.ScriptShell
Global Groovy script shell for compiling bundle scripts.
Shares a single
GroovyClassLoader and CompilerConfiguration
across all bundles. Script roots are registered as URLs on the class loader
so that cross-script imports resolve correctly both within and between bundles.-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifikator und TypMethodeBeschreibungList<org.codehaus.groovy.tools.GroovyClass> compileBundle(List<Path> scriptPaths, Path scriptRoot) org.codehaus.groovy.control.CompilerConfigurationvoid
-
Konstruktordetails
-
ScriptShell
public ScriptShell()
-
-
Methodendetails
-
compileBundle
public List<org.codehaus.groovy.tools.GroovyClass> compileBundle(List<Path> scriptPaths, Path scriptRoot) throws IOException - Löst aus:
IOException
-
invalidateAll
public void invalidateAll() -
getCompilerConfiguration
public org.codehaus.groovy.control.CompilerConfiguration getCompilerConfiguration()
-