Provides the implementation of interactive mode in Grails.
| Modifiers | Name | Description |
|---|---|---|
protected GrailsInteractiveCompletor |
interactiveCompletor |
|
protected MetaClassRegistryCleaner |
registryCleaner |
| Type | Name and description |
|---|---|
static java.lang.String |
ARG_SPLIT_PATTERNUse this to split strings on unescaped whitespace. |
static java.util.List |
FIXED_OPEN_OPTIONS |
boolean |
backgroundTestRunnerStarted |
GrailsConsole |
console |
static InteractiveMode |
current |
java.lang.Object |
grailsServer |
boolean |
interactiveModeActive |
java.lang.Object |
openOptionsOptions supported by the 'open' command. |
GrailsScriptRunner |
scriptRunner |
BuildSettings |
settings |
| Constructor and description |
|---|
InteractiveMode
(BuildSettings settings, GrailsScriptRunner scriptRunner) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
protected void |
bang() |
|
protected void |
execute(java.lang.String scriptName) |
|
protected void |
exit(boolean shouldStopApp = false) |
|
protected void |
goodbye() |
|
static boolean |
isActive() |
|
protected void |
open(java.lang.String scriptName) |
|
void |
parseAndExecute(java.lang.String scriptName) |
|
void |
prepareConsole(java.lang.Object commandLine) |
|
protected void |
quit() |
|
void |
refresh() |
|
void |
restartDaemon() |
|
void |
run() |
|
void |
setGrailsServer(java.lang.Object grailsServer) |
|
protected void |
startBackgroundTestRunner() |
|
protected void |
stopApp() |
|
protected java.lang.Object |
unescape(java.lang.String str)Removes '\' escape characters from the given string. |
| Methods inherited from class | Name |
|---|---|
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() |
Use this to split strings on unescaped whitespace.
Options supported by the 'open' command.
Removes '\' escape characters from the given string.
Groovy Documentation