Context for the execution of Command instances within a Profile
Type Params | Return Type | Name and description |
---|---|---|
|
void |
addCancelledListener(CommandCancellationListener listener) Attaches a listener for cancellation events |
|
void |
cancel() Allows cancelling of the running command |
|
CommandLine |
getCommandLine() @return The parsed command line arguments as an instance of 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