A CommandFactory that creates Command instances from Groovy scripts
Type | Name and description |
---|---|
private java.lang.String |
fileNamePattern |
private Collection |
matchingFileExtensions |
Constructor and description |
---|
GroovyScriptCommandFactory
() |
Type Params | Return Type | Name and description |
---|---|---|
|
protected Command |
createCommand(Profile profile, java.lang.String commandName, Resource resource, GroovyScriptCommand data) |
|
static groovy.lang.GroovyClassLoader |
createGroovyScriptCommandClassLoader() |
|
protected java.lang.String |
evaluateFileName(java.lang.String fileName) |
|
protected GroovyScriptCommand |
readCommandFile(Resource resource) |
Methods inherited from class | Name |
---|---|
class ResourceResolvingCommandFactory |
createCommand, evaluateFileName, findCommandResources, findCommands, getCommandResolvers, getMatchingFileExtensions, readCommandFile |