@groovy.transform.CompileStatic abstract class ResourceResolvingCommandFactory
A abstract CommandFactory that reads from the file system
Type Params | Return Type | Name and description |
---|---|---|
|
protected Command |
createCommand(Profile profile, java.lang.String commandName, Resource resource, T data) |
|
protected java.lang.String |
evaluateFileName(java.lang.String fileName) |
|
protected java.util.Collection<Resource> |
findCommandResources(Profile profile, boolean inherited) |
|
java.util.Collection<Command> |
findCommands(Profile profile, boolean inherited) |
|
protected java.util.Collection<CommandResourceResolver> |
getCommandResolvers(boolean inherited) |
|
protected java.util.Collection<java.lang.String> |
getMatchingFileExtensions() |
|
protected T |
readCommandFile(Resource resource) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |