@groovy.transform.CompileStatic class GrailsApplicationScriptRunner extends DevelopmentGrailsApplication
Used to run Grails scripts within the context of a Grails application
Modifiers | Name | Description |
---|---|---|
private java.util.List<java.io.File> |
scripts |
Fields inherited from class | Fields |
---|---|
class GrailsApp |
GRAILS_BANNER, SPRING_PROFILES, configuredEnvironment, developmentModeActive, directoryWatcher, enableBeanCreationProfiler |
Type | Name and description |
---|---|
java.util.List<java.io.File> |
scripts |
Constructor and description |
---|
private GrailsApplicationScriptRunner
(java.util.List<java.io.File> scripts, java.lang.Class<?>[] sources) |
Methods inherited from class | Name |
---|---|
class DevelopmentGrailsApplication |
configureApplicationContextClass |
class GrailsApp |
compileGroovyFile, configureDirectoryWatcher, configureEnvironment, createApplicationContext, createPluginManagerListener, enableDevelopmentModeWatch, isDevelopmentModeActive, newMicronautContextBuilder, printRunStatus, recompile, run, run, run, setDevelopmentModeActive |
Main method to run an existing Application class
args
- The last argument is the Application class name. All other args are script namesGroovy Documentation