A CommandFactory that creates Command instances from Groovy scripts
Type | Name and description |
---|---|
java.lang.String |
fileNamePattern |
java.util.Collection<java.lang.String> |
matchingFileExtensions |
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 |