|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.codehaus.groovy.grails.cli.support.GrailsBuildEventListener
public class GrailsBuildEventListener extends java.lang.Object
| Field Summary | |
|---|---|
protected java.util.Map |
globalEventHooks
|
| Constructor Summary | |
GrailsBuildEventListener(groovy.lang.GroovyClassLoader scriptClassLoader, groovy.lang.Binding binding, BuildSettings buildSettings)
|
|
| Method Summary | |
|---|---|
protected void
|
addGrailsBuildListener(java.lang.String listenerClassName)
|
protected void
|
addGrailsBuildListener(java.lang.Class listenerClass)
|
void
|
addGrailsBuildListener(GrailsBuildListener listener)
|
void
|
buildFinished(org.apache.tools.ant.BuildEvent buildEvent)
|
void
|
buildStarted(org.apache.tools.ant.BuildEvent buildEvent)
|
protected java.io.File
|
findEventsScript(java.io.File dir)
|
void
|
initialize()
|
protected void
|
loadEventHooks(BuildSettings buildSettings)
|
void
|
loadEventsScript(java.io.File eventScript)
|
protected void
|
loadGrailsBuildListeners()
|
void
|
messageLogged(org.apache.tools.ant.BuildEvent buildEvent)
|
void
|
setClassLoader(groovy.lang.GroovyClassLoader classLoader)
|
void
|
setGlobalEventHooks(java.util.Map globalEventHooks)
|
void
|
targetFinished(org.apache.tools.ant.BuildEvent buildEvent)
|
void
|
targetStarted(org.apache.tools.ant.BuildEvent buildEvent)
|
void
|
taskFinished(org.apache.tools.ant.BuildEvent buildEvent)
|
void
|
taskStarted(org.apache.tools.ant.BuildEvent buildEvent)
|
void
|
triggerEvent(java.lang.String eventName)
Triggers and event for the given name and binding |
void
|
triggerEvent(java.lang.String eventName, java.lang.Object... arguments)
Triggers an event for the given name and arguments |
| 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 |
|---|
@SuppressWarnings("rawtypes")
protected java.util.Map globalEventHooks
| Constructor Detail |
|---|
public GrailsBuildEventListener(groovy.lang.GroovyClassLoader scriptClassLoader, groovy.lang.Binding binding, BuildSettings buildSettings)
| Method Detail |
|---|
protected void addGrailsBuildListener(java.lang.String listenerClassName)
@SuppressWarnings("rawtypes")
protected void addGrailsBuildListener(java.lang.Class listenerClass)
public void addGrailsBuildListener(GrailsBuildListener listener)
public void buildFinished(org.apache.tools.ant.BuildEvent buildEvent)
public void buildStarted(org.apache.tools.ant.BuildEvent buildEvent)
protected java.io.File findEventsScript(java.io.File dir)
public void initialize()
protected void loadEventHooks(@SuppressWarnings("hiding") BuildSettings buildSettings)
public void loadEventsScript(java.io.File eventScript)
protected void loadGrailsBuildListeners()
public void messageLogged(org.apache.tools.ant.BuildEvent buildEvent)
public void setClassLoader(groovy.lang.GroovyClassLoader classLoader)
public void setGlobalEventHooks(@SuppressWarnings("rawtypes") java.util.Map globalEventHooks)
public void targetFinished(org.apache.tools.ant.BuildEvent buildEvent)
public void targetStarted(org.apache.tools.ant.BuildEvent buildEvent)
public void taskFinished(org.apache.tools.ant.BuildEvent buildEvent)
public void taskStarted(org.apache.tools.ant.BuildEvent buildEvent)
public void triggerEvent(java.lang.String eventName)
eventName - The name of the event
@SuppressWarnings("rawtypes")
public void triggerEvent(java.lang.String eventName, java.lang.Object... arguments)
eventName - The name of the eventarguments - The arguments
Groovy Documentation