@groovy.transform.CompileStatic abstract class ResourceResolvingCommandFactory<T> extends java.lang.Object implements CommandFactory
A abstract CommandFactory that reads from the file system
Modifiers | Name | Description |
---|---|---|
class |
ResourceResolvingCommandFactory.1 |
|
class |
ResourceResolvingCommandFactory.2 |
Constructor and description |
---|
ResourceResolvingCommandFactory
() |
Type Params | Return Type | Name and description |
---|---|---|
|
protected abstract 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 abstract java.util.Collection<java.lang.String> |
getMatchingFileExtensions() |
|
protected abstract T |
readCommandFile(Resource resource) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), 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() |