An interface that represents a command to be executed by the Grails command line. Commands are by default global, however a command can be made specific to a particular Profile by implementation the ProfileCommand interface.
| Type Params | Return Type | Name and description |
|---|---|---|
|
CommandDescription |
getDescription()@return The description of the command |
|
boolean |
handle(ExecutionContext executionContext)run the command |
| Methods inherited from class | Name |
|---|---|
interface grails.util.Named |
grails.util.Named#getName() |
run the command
executionContext - The ExecutionContext