@groovy.transform.CompileStatic class GroovyScriptCommandFactory extends ResourceResolvingCommandFactory<GroovyScriptCommand>
A CommandFactory that creates Command instances from Groovy scripts
Type | Name and description |
---|---|
java.lang.String |
fileNamePattern |
java.util.Collection<java.lang.String> |
matchingFileExtensions |
Constructor and description |
---|
GroovyScriptCommandFactory
() |
Type Params | Return Type | Name and description |
---|---|---|
|
protected Command |
createCommand(Profile profile, java.lang.String commandName, org.springframework.core.io.Resource resource, GroovyScriptCommand data) |
|
static groovy.lang.GroovyClassLoader |
createGroovyScriptCommandClassLoader() |
|
protected java.lang.String |
evaluateFileName(java.lang.String fileName) |
|
protected GroovyScriptCommand |
readCommandFile(org.springframework.core.io.Resource resource) |
Groovy Documentation