|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.codehaus.groovy.grails.cli.logging.GrailsConsoleBuildListener
public class GrailsConsoleBuildListener
Mainly silences a lot of redundant Ant output.
| Constructor Summary | |
|---|---|
GrailsConsoleBuildListener()
|
|
GrailsConsoleBuildListener(GrailsConsole ui)
|
|
| Method Summary | |
|---|---|
void |
buildFinished(org.apache.tools.ant.BuildEvent finish)
Signals that the last target has finished. |
void |
buildStarted(org.apache.tools.ant.BuildEvent start)
Signals that a build has started. |
void |
messageLogged(org.apache.tools.ant.BuildEvent event)
When a message is sent to this logger, Ant calls this method. |
void |
targetFinished(org.apache.tools.ant.BuildEvent finish)
Signals that a target has finished. |
void |
targetStarted(org.apache.tools.ant.BuildEvent start)
Signals that a target is starting. |
void |
taskFinished(org.apache.tools.ant.BuildEvent finish)
Signals that a task has finished. |
void |
taskStarted(org.apache.tools.ant.BuildEvent start)
Signals that a task is starting. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GrailsConsoleBuildListener()
public GrailsConsoleBuildListener(GrailsConsole ui)
| Method Detail |
|---|
public final void buildStarted(org.apache.tools.ant.BuildEvent start)
Signals that a build has started. This event is fired before any targets have started.
buildStarted in interface org.apache.tools.ant.BuildListenerstart - An event with any relevant extra information.
Must not be null.public final void buildFinished(org.apache.tools.ant.BuildEvent finish)
Signals that the last target has finished. This event will still be fired if an error occurred during the build.
buildFinished in interface org.apache.tools.ant.BuildListenerfinish - An event with any relevant extra information.
Must not be null.BuildEvent.getException()public final void targetStarted(org.apache.tools.ant.BuildEvent start)
Signals that a target is starting.
targetStarted in interface org.apache.tools.ant.BuildListenerstart - An event with any relevant extra information.
Must not be null.BuildEvent.getTarget()public final void targetFinished(org.apache.tools.ant.BuildEvent finish)
Signals that a target has finished. This event will still be fired if an error occurred during the build.
targetFinished in interface org.apache.tools.ant.BuildListenerfinish - An event with any relevant extra information.
Must not be null.BuildEvent.getException()public final void taskStarted(org.apache.tools.ant.BuildEvent start)
Signals that a task is starting.
taskStarted in interface org.apache.tools.ant.BuildListenerstart - An event with any relevant extra information.
Must not be null.BuildEvent.getTask()public final void taskFinished(org.apache.tools.ant.BuildEvent finish)
Signals that a task has finished. This event will still be fired if an error occurred during the build.
taskFinished in interface org.apache.tools.ant.BuildListenerfinish - An event with any relevant extra information.
Must not be null.BuildEvent.getException()public void messageLogged(org.apache.tools.ant.BuildEvent event)
When a message is sent to this logger, Ant calls this method.
messageLogged in interface org.apache.tools.ant.BuildListenerevent - An event with any relevant extra information.
Must not be null.BuildEvent.getMessage(),
BuildEvent.getPriority()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||