A CommandFactory that can discover commands defined in YAML or JSON
Modifiers | Name | Description |
---|---|---|
protected groovy.json.JsonSlurper |
jsonSlurper |
|
protected org.yaml.snakeyaml.Yaml |
yamlParser |
Type | Name and description |
---|---|
java.lang.String |
fileNamePattern |
java.util.Collection<java.lang.String> |
matchingFileExtensions |
Type | Name and description |
---|---|
protected Command |
createCommand(Profile profile, java.lang.String commandName, Resource resource, java.util.Map data) |
protected java.util.Map |
readCommandFile(Resource resource) |
Methods inherited from class | Name |
---|---|
class ResourceResolvingCommandFactory |
createCommand, evaluateFileName, findCommandResources, findCommands, getCommandResolvers, getMatchingFileExtensions, readCommandFile |
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() |