@CompileStatic class CommandRegistry extends Object
Registry of available commands
| Constructor and description |
|---|
CommandRegistry() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
static Collection<Command> |
findCommands(ProfileRepository repository) |
|
static Collection<Command> |
findCommands(Profile profile, boolean inherited) |
|
static Command |
getCommand(String name, ProfileRepository repository)Returns a command for the given name and repository |
Returns a command for the given name and repository
name - The command namerepository - The ProfileRepository instance