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