Klasse ScriptShell

java.lang.Object
de.luckymcdev.foundryengine.common.script.ScriptShell

public final class ScriptShell extends Object
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.
  • 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()