@CompileStatic abstract class ResourceResolvingCommandFactory<T> extends 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, String commandName, Resource resource, T data) |
|
protected String |
evaluateFileName(String fileName) |
|
protected Collection<Resource> |
findCommandResources(Profile profile, boolean inherited) |
|
Collection<Command> |
findCommands(Profile profile, boolean inherited) |
|
protected Collection<CommandResourceResolver> |
getCommandResolvers(boolean inherited) |
|
protected abstract Collection<String> |
getMatchingFileExtensions() |
|
protected abstract T |
readCommandFile(Resource resource) |