01: package com.canoo.webtest.engine;
02:
03: import org.apache.tools.ant.BuildEvent;
04: import org.apache.tools.ant.BuildListener;
05:
06: /**
07: * {@link org.apache.tools.ant.BuildListener} implementation that does nothing.
08: * It does absolutely nothing but is useful as base class for classes that want to implement
09: * only some of the methods of {@link org.apache.tools.ant.BuildListener}.
10: * @author Marc Guillemot
11: */
12: public class NOPBuildListener implements BuildListener {
13: /**
14: * Does nothing
15: * @see org.apache.tools.ant.BuildListener#buildFinished(org.apache.tools.ant.BuildEvent)
16: */
17: public void buildFinished(final BuildEvent event) {
18: // does nothing
19: }
20:
21: /**
22: * Does nothing
23: * @see org.apache.tools.ant.BuildListener#buildStarted(org.apache.tools.ant.BuildEvent)
24: */
25: public void buildStarted(final BuildEvent event) {
26: // does nothing
27: }
28:
29: /**
30: * Does nothing
31: * @see org.apache.tools.ant.BuildListener#messageLogged(org.apache.tools.ant.BuildEvent)
32: */
33: public void messageLogged(final BuildEvent event) {
34: // does nothing
35: }
36:
37: /**
38: * Does nothing
39: * @see org.apache.tools.ant.BuildListener#targetFinished(org.apache.tools.ant.BuildEvent)
40: */
41: public void targetFinished(final BuildEvent event) {
42: // does nothing
43: }
44:
45: /**
46: * Does nothing
47: * @see org.apache.tools.ant.BuildListener#targetStarted(org.apache.tools.ant.BuildEvent)
48: */
49: public void targetStarted(final BuildEvent event) {
50: // does nothing
51: }
52:
53: /**
54: * Does nothing
55: * @see org.apache.tools.ant.BuildListener#taskFinished(org.apache.tools.ant.BuildEvent)
56: */
57: public void taskFinished(final BuildEvent event) {
58: // does nothing
59: }
60:
61: /**
62: * Does nothing
63: * @see org.apache.tools.ant.BuildListener#taskStarted(org.apache.tools.ant.BuildEvent)
64: */
65: public void taskStarted(final BuildEvent event) {
66: // does nothing
67: }
68: }
|