interface Command extends grails.util.Named
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 |
|---|---|---|
|
abstract CommandDescription |
getDescription()
|
|
abstract 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