Factory for the creation of Command instances
Constructor and description |
---|
CommandFactory
() |
Type Params | Return Type | Name and description |
---|---|---|
|
Collection |
findCommands(Profile profile, boolean inherited) Creates a command for the given name
|
Creates a command for the given name
name
- The name of the commandprofile
- The Profileinherited
- Whether the profile passed is inherited (ie a parent profile)