|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Object org.codehaus.groovy.grails.cli.interactive.InteractiveMode
class InteractiveMode extends java.lang.Object
Provides the implementation of interactive mode in Grails.
Field Summary | |
---|---|
protected MetaClassRegistryCleaner |
registryCleaner
|
Property Summary | |
---|---|
static java.lang.String |
ARG_SPLIT_PATTERN
Use this to split strings on unescaped whitespace. |
static java.util.List |
FIXED_OPEN_OPTIONS
|
GrailsConsole |
console
|
static InteractiveMode |
current
|
java.lang.Object |
grailsServer
|
boolean |
interactiveModeActive
|
java.lang.Object |
openOptions
Options supported by the 'open' command. |
GrailsScriptRunner |
scriptRunner
|
BuildSettings |
settings
|
Constructor Summary | |
InteractiveMode(BuildSettings settings, GrailsScriptRunner scriptRunner)
|
Method Summary | |
---|---|
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
|
run()
|
void
|
setGrailsServer(java.lang.Object grailsServer)
|
protected void
|
stopApp()
|
protected java.lang.Object
|
unescape(java.lang.String str)
Removes '\' escape characters from the given string. |
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
Field Detail |
---|
protected MetaClassRegistryCleaner registryCleaner
Property Detail |
---|
static final java.lang.String ARG_SPLIT_PATTERN
static final java.util.List FIXED_OPEN_OPTIONS
@Delegate GrailsConsole console
static InteractiveMode current
java.lang.Object grailsServer
boolean interactiveModeActive
java.lang.Object openOptions
GrailsScriptRunner scriptRunner
BuildSettings settings
Constructor Detail |
---|
InteractiveMode(BuildSettings settings, GrailsScriptRunner scriptRunner)
Method Detail |
---|
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 run()
void setGrailsServer(java.lang.Object grailsServer)
protected void stopApp()
protected java.lang.Object unescape(java.lang.String str)
Groovy Documentation