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() |
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() |
run the command
executionContext
- The ExecutionContext