Context for the execution of Command instances within a Profile
| Type | Name and description |
|---|---|
void |
addCancelledListener(CommandCancellationListener listener)Attaches a listener for cancellation events |
void |
cancel()Allows cancelling of the running command |
org.grails.build.parsing.CommandLine |
getCommandLine()@return The parsed command line arguments as an instance of org.grails.build.parsing.CommandLine |
| Methods inherited from class | Name |
|---|---|
interface ProjectContext |
getBaseDir, getConfig, getConsole, navigateConfig, navigateConfigForType |
Attaches a listener for cancellation events
listener - The CommandCancellationListenerAllows cancelling of the running command