1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
---|
2 | <!--NewPage-->
|
---|
3 | <HTML>
|
---|
4 | <HEAD>
|
---|
5 | <!-- Generated by javadoc (build 1.4.2_13) on Mon Oct 01 14:33:14 NZST 2007 -->
|
---|
6 | <TITLE>
|
---|
7 | BuildEvent (Apache Ant API)
|
---|
8 | </TITLE>
|
---|
9 |
|
---|
10 | <META NAME="keywords" CONTENT="org.apache.tools.ant.BuildEvent class">
|
---|
11 |
|
---|
12 | <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
---|
13 |
|
---|
14 | <SCRIPT type="text/javascript">
|
---|
15 | function windowTitle()
|
---|
16 | {
|
---|
17 | parent.document.title="BuildEvent (Apache Ant API)";
|
---|
18 | }
|
---|
19 | </SCRIPT>
|
---|
20 |
|
---|
21 | </HEAD>
|
---|
22 |
|
---|
23 | <BODY BGCOLOR="white" onload="windowTitle();">
|
---|
24 |
|
---|
25 |
|
---|
26 | <!-- ========= START OF TOP NAVBAR ======= -->
|
---|
27 | <A NAME="navbar_top"><!-- --></A>
|
---|
28 | <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
---|
29 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
---|
30 | <TR>
|
---|
31 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
---|
32 | <A NAME="navbar_top_firstrow"><!-- --></A>
|
---|
33 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
---|
34 | <TR ALIGN="center" VALIGN="top">
|
---|
35 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
---|
36 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
---|
37 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
---|
38 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
---|
39 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
40 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
41 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
---|
42 | </TR>
|
---|
43 | </TABLE>
|
---|
44 | </TD>
|
---|
45 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
---|
46 | </EM>
|
---|
47 | </TD>
|
---|
48 | </TR>
|
---|
49 |
|
---|
50 | <TR>
|
---|
51 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
52 | <A HREF="../../../../org/apache/tools/ant/AntTypeDefinition.html" title="class in org.apache.tools.ant"><B>PREV CLASS</B></A>
|
---|
53 | <A HREF="../../../../org/apache/tools/ant/ComponentHelper.html" title="class in org.apache.tools.ant"><B>NEXT CLASS</B></A></FONT></TD>
|
---|
54 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
55 | <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A>
|
---|
56 | <A HREF="BuildEvent.html" target="_top"><B>NO FRAMES</B></A>
|
---|
57 | <SCRIPT type="text/javascript">
|
---|
58 | <!--
|
---|
59 | if(window==top) {
|
---|
60 | document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
---|
61 | }
|
---|
62 | //-->
|
---|
63 | </SCRIPT>
|
---|
64 | <NOSCRIPT>
|
---|
65 | <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
---|
66 | </NOSCRIPT>
|
---|
67 |
|
---|
68 | </FONT></TD>
|
---|
69 | </TR>
|
---|
70 | <TR>
|
---|
71 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
72 | SUMMARY: NESTED | <A HREF="#fields_inherited_from_class_java.util.EventObject">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
---|
73 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
74 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
---|
75 | </TR>
|
---|
76 | </TABLE>
|
---|
77 | <A NAME="skip-navbar_top"></A>
|
---|
78 | <!-- ========= END OF TOP NAVBAR ========= -->
|
---|
79 |
|
---|
80 | <HR>
|
---|
81 | <!-- ======== START OF CLASS DATA ======== -->
|
---|
82 | <H2>
|
---|
83 | <FONT SIZE="-1">
|
---|
84 | org.apache.tools.ant</FONT>
|
---|
85 | <BR>
|
---|
86 | Class BuildEvent</H2>
|
---|
87 | <PRE>
|
---|
88 | java.lang.Object
|
---|
89 | <IMG SRC="../../../../resources/inherit.gif" ALT="extended by">java.util.EventObject
|
---|
90 | <IMG SRC="../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.tools.ant.BuildEvent</B>
|
---|
91 | </PRE>
|
---|
92 | <DL>
|
---|
93 | <DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable</DD>
|
---|
94 | </DL>
|
---|
95 | <HR>
|
---|
96 | <DL>
|
---|
97 | <DT>public class <B>BuildEvent</B><DT>extends java.util.EventObject</DL>
|
---|
98 |
|
---|
99 | <P>
|
---|
100 | Class representing an event occurring during a build. An
|
---|
101 | event is built by specifying either a project, a task or a target.
|
---|
102 | A project level event will only have a project reference;
|
---|
103 | a target level event will have project and target references;
|
---|
104 | a task level event will have project, target and task references.
|
---|
105 | <P>
|
---|
106 |
|
---|
107 | <P>
|
---|
108 | <DL>
|
---|
109 | <DT><B>See Also:</B><DD><A HREF="../../../../serialized-form.html#org.apache.tools.ant.BuildEvent">Serialized Form</A></DL>
|
---|
110 | <HR>
|
---|
111 |
|
---|
112 | <P>
|
---|
113 | <!-- ======== NESTED CLASS SUMMARY ======== -->
|
---|
114 |
|
---|
115 |
|
---|
116 | <!-- =========== FIELD SUMMARY =========== -->
|
---|
117 |
|
---|
118 | <A NAME="field_summary"><!-- --></A>
|
---|
119 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
120 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
121 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
122 | <B>Field Summary</B></FONT></TD>
|
---|
123 | </TR>
|
---|
124 | </TABLE>
|
---|
125 | <A NAME="fields_inherited_from_class_java.util.EventObject"><!-- --></A>
|
---|
126 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
127 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
128 | <TD><B>Fields inherited from class java.util.EventObject</B></TD>
|
---|
129 | </TR>
|
---|
130 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
131 | <TD><CODE>source</CODE></TD>
|
---|
132 | </TR>
|
---|
133 | </TABLE>
|
---|
134 |
|
---|
135 | <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
---|
136 |
|
---|
137 | <A NAME="constructor_summary"><!-- --></A>
|
---|
138 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
139 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
140 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
141 | <B>Constructor Summary</B></FONT></TD>
|
---|
142 | </TR>
|
---|
143 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
144 | <TD><CODE><B><A HREF="../../../../org/apache/tools/ant/BuildEvent.html#BuildEvent(org.apache.tools.ant.Project)">BuildEvent</A></B>(<A HREF="../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A> project)</CODE>
|
---|
145 |
|
---|
146 | <BR>
|
---|
147 | Construct a BuildEvent for a project level event.</TD>
|
---|
148 | </TR>
|
---|
149 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
150 | <TD><CODE><B><A HREF="../../../../org/apache/tools/ant/BuildEvent.html#BuildEvent(org.apache.tools.ant.Target)">BuildEvent</A></B>(<A HREF="../../../../org/apache/tools/ant/Target.html" title="class in org.apache.tools.ant">Target</A> target)</CODE>
|
---|
151 |
|
---|
152 | <BR>
|
---|
153 | Construct a BuildEvent for a target level event.</TD>
|
---|
154 | </TR>
|
---|
155 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
156 | <TD><CODE><B><A HREF="../../../../org/apache/tools/ant/BuildEvent.html#BuildEvent(org.apache.tools.ant.Task)">BuildEvent</A></B>(<A HREF="../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A> task)</CODE>
|
---|
157 |
|
---|
158 | <BR>
|
---|
159 | Construct a BuildEvent for a task level event.</TD>
|
---|
160 | </TR>
|
---|
161 | </TABLE>
|
---|
162 |
|
---|
163 | <!-- ========== METHOD SUMMARY =========== -->
|
---|
164 |
|
---|
165 | <A NAME="method_summary"><!-- --></A>
|
---|
166 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
167 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
168 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
169 | <B>Method Summary</B></FONT></TD>
|
---|
170 | </TR>
|
---|
171 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
172 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
173 | <CODE> java.lang.Throwable</CODE></FONT></TD>
|
---|
174 | <TD><CODE><B><A HREF="../../../../org/apache/tools/ant/BuildEvent.html#getException()">getException</A></B>()</CODE>
|
---|
175 |
|
---|
176 | <BR>
|
---|
177 | Returns the exception that was thrown, if any.</TD>
|
---|
178 | </TR>
|
---|
179 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
180 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
181 | <CODE> java.lang.String</CODE></FONT></TD>
|
---|
182 | <TD><CODE><B><A HREF="../../../../org/apache/tools/ant/BuildEvent.html#getMessage()">getMessage</A></B>()</CODE>
|
---|
183 |
|
---|
184 | <BR>
|
---|
185 | Returns the logging message.</TD>
|
---|
186 | </TR>
|
---|
187 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
188 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
189 | <CODE> int</CODE></FONT></TD>
|
---|
190 | <TD><CODE><B><A HREF="../../../../org/apache/tools/ant/BuildEvent.html#getPriority()">getPriority</A></B>()</CODE>
|
---|
191 |
|
---|
192 | <BR>
|
---|
193 | Returns the priority of the logging message.</TD>
|
---|
194 | </TR>
|
---|
195 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
196 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
197 | <CODE> <A HREF="../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A></CODE></FONT></TD>
|
---|
198 | <TD><CODE><B><A HREF="../../../../org/apache/tools/ant/BuildEvent.html#getProject()">getProject</A></B>()</CODE>
|
---|
199 |
|
---|
200 | <BR>
|
---|
201 | Returns the project that fired this event.</TD>
|
---|
202 | </TR>
|
---|
203 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
204 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
205 | <CODE> <A HREF="../../../../org/apache/tools/ant/Target.html" title="class in org.apache.tools.ant">Target</A></CODE></FONT></TD>
|
---|
206 | <TD><CODE><B><A HREF="../../../../org/apache/tools/ant/BuildEvent.html#getTarget()">getTarget</A></B>()</CODE>
|
---|
207 |
|
---|
208 | <BR>
|
---|
209 | Returns the target that fired this event.</TD>
|
---|
210 | </TR>
|
---|
211 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
212 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
213 | <CODE> <A HREF="../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A></CODE></FONT></TD>
|
---|
214 | <TD><CODE><B><A HREF="../../../../org/apache/tools/ant/BuildEvent.html#getTask()">getTask</A></B>()</CODE>
|
---|
215 |
|
---|
216 | <BR>
|
---|
217 | Returns the task that fired this event.</TD>
|
---|
218 | </TR>
|
---|
219 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
220 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
221 | <CODE> void</CODE></FONT></TD>
|
---|
222 | <TD><CODE><B><A HREF="../../../../org/apache/tools/ant/BuildEvent.html#setException(java.lang.Throwable)">setException</A></B>(java.lang.Throwable exception)</CODE>
|
---|
223 |
|
---|
224 | <BR>
|
---|
225 | Sets the exception associated with this event.</TD>
|
---|
226 | </TR>
|
---|
227 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
228 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
229 | <CODE> void</CODE></FONT></TD>
|
---|
230 | <TD><CODE><B><A HREF="../../../../org/apache/tools/ant/BuildEvent.html#setMessage(java.lang.String, int)">setMessage</A></B>(java.lang.String message,
|
---|
231 | int priority)</CODE>
|
---|
232 |
|
---|
233 | <BR>
|
---|
234 | Sets the message and priority associated with this event.</TD>
|
---|
235 | </TR>
|
---|
236 | </TABLE>
|
---|
237 | <A NAME="methods_inherited_from_class_java.util.EventObject"><!-- --></A>
|
---|
238 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
239 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
240 | <TD><B>Methods inherited from class java.util.EventObject</B></TD>
|
---|
241 | </TR>
|
---|
242 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
243 | <TD><CODE>getSource, toString</CODE></TD>
|
---|
244 | </TR>
|
---|
245 | </TABLE>
|
---|
246 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
---|
247 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
248 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
249 | <TD><B>Methods inherited from class java.lang.Object</B></TD>
|
---|
250 | </TR>
|
---|
251 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
252 | <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
|
---|
253 | </TR>
|
---|
254 | </TABLE>
|
---|
255 |
|
---|
256 | <P>
|
---|
257 |
|
---|
258 | <!-- ============ FIELD DETAIL =========== -->
|
---|
259 |
|
---|
260 |
|
---|
261 | <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
---|
262 |
|
---|
263 | <A NAME="constructor_detail"><!-- --></A>
|
---|
264 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
265 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
266 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
267 | <B>Constructor Detail</B></FONT></TD>
|
---|
268 | </TR>
|
---|
269 | </TABLE>
|
---|
270 |
|
---|
271 | <A NAME="BuildEvent(org.apache.tools.ant.Project)"><!-- --></A><H3>
|
---|
272 | BuildEvent</H3>
|
---|
273 | <PRE>
|
---|
274 | public <B>BuildEvent</B>(<A HREF="../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A> project)</PRE>
|
---|
275 | <DL>
|
---|
276 | <DD>Construct a BuildEvent for a project level event.
|
---|
277 | <P>
|
---|
278 | <DT><B>Parameters:</B><DD><CODE>project</CODE> - the project that emitted the event.
|
---|
279 | Should not be <code>null</code>.</DL>
|
---|
280 | <HR>
|
---|
281 |
|
---|
282 | <A NAME="BuildEvent(org.apache.tools.ant.Target)"><!-- --></A><H3>
|
---|
283 | BuildEvent</H3>
|
---|
284 | <PRE>
|
---|
285 | public <B>BuildEvent</B>(<A HREF="../../../../org/apache/tools/ant/Target.html" title="class in org.apache.tools.ant">Target</A> target)</PRE>
|
---|
286 | <DL>
|
---|
287 | <DD>Construct a BuildEvent for a target level event.
|
---|
288 | The project associated with the event is derived
|
---|
289 | from the given target.
|
---|
290 | <P>
|
---|
291 | <DT><B>Parameters:</B><DD><CODE>target</CODE> - the target that emitted the event.
|
---|
292 | Must not be <code>null</code>.</DL>
|
---|
293 | <HR>
|
---|
294 |
|
---|
295 | <A NAME="BuildEvent(org.apache.tools.ant.Task)"><!-- --></A><H3>
|
---|
296 | BuildEvent</H3>
|
---|
297 | <PRE>
|
---|
298 | public <B>BuildEvent</B>(<A HREF="../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A> task)</PRE>
|
---|
299 | <DL>
|
---|
300 | <DD>Construct a BuildEvent for a task level event.
|
---|
301 | The project and target associated with the event
|
---|
302 | are derived from the given task.
|
---|
303 | <P>
|
---|
304 | <DT><B>Parameters:</B><DD><CODE>task</CODE> - the task that emitted the event.
|
---|
305 | Must not be <code>null</code>.</DL>
|
---|
306 |
|
---|
307 | <!-- ============ METHOD DETAIL ========== -->
|
---|
308 |
|
---|
309 | <A NAME="method_detail"><!-- --></A>
|
---|
310 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
311 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
312 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
313 | <B>Method Detail</B></FONT></TD>
|
---|
314 | </TR>
|
---|
315 | </TABLE>
|
---|
316 |
|
---|
317 | <A NAME="setMessage(java.lang.String, int)"><!-- --></A><H3>
|
---|
318 | setMessage</H3>
|
---|
319 | <PRE>
|
---|
320 | public void <B>setMessage</B>(java.lang.String message,
|
---|
321 | int priority)</PRE>
|
---|
322 | <DL>
|
---|
323 | <DD>Sets the message and priority associated with this event.
|
---|
324 | This is used for "messageLogged" events.
|
---|
325 | <P>
|
---|
326 | <DD><DL>
|
---|
327 | <DT><B>Parameters:</B><DD><CODE>message</CODE> - the message to be associated with this event.
|
---|
328 | Should not be <code>null</code>.<DD><CODE>priority</CODE> - the priority to be associated with this event,
|
---|
329 | as defined in the <A HREF="../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant"><CODE>Project</CODE></A> class.<DT><B>See Also:</B><DD><A HREF="../../../../org/apache/tools/ant/BuildListener.html#messageLogged(org.apache.tools.ant.BuildEvent)"><CODE>BuildListener.messageLogged(BuildEvent)</CODE></A></DL>
|
---|
330 | </DD>
|
---|
331 | </DL>
|
---|
332 | <HR>
|
---|
333 |
|
---|
334 | <A NAME="setException(java.lang.Throwable)"><!-- --></A><H3>
|
---|
335 | setException</H3>
|
---|
336 | <PRE>
|
---|
337 | public void <B>setException</B>(java.lang.Throwable exception)</PRE>
|
---|
338 | <DL>
|
---|
339 | <DD>Sets the exception associated with this event. This is used
|
---|
340 | for "taskFinished", "targetFinished", and "buildFinished"
|
---|
341 | events.
|
---|
342 | <P>
|
---|
343 | <DD><DL>
|
---|
344 | <DT><B>Parameters:</B><DD><CODE>exception</CODE> - The exception to be associated with this event.
|
---|
345 | May be <code>null</code>.<DT><B>See Also:</B><DD><A HREF="../../../../org/apache/tools/ant/BuildListener.html#taskFinished(org.apache.tools.ant.BuildEvent)"><CODE>BuildListener.taskFinished(BuildEvent)</CODE></A>,
|
---|
346 | <A HREF="../../../../org/apache/tools/ant/BuildListener.html#targetFinished(org.apache.tools.ant.BuildEvent)"><CODE>BuildListener.targetFinished(BuildEvent)</CODE></A>,
|
---|
347 | <A HREF="../../../../org/apache/tools/ant/BuildListener.html#buildFinished(org.apache.tools.ant.BuildEvent)"><CODE>BuildListener.buildFinished(BuildEvent)</CODE></A></DL>
|
---|
348 | </DD>
|
---|
349 | </DL>
|
---|
350 | <HR>
|
---|
351 |
|
---|
352 | <A NAME="getProject()"><!-- --></A><H3>
|
---|
353 | getProject</H3>
|
---|
354 | <PRE>
|
---|
355 | public <A HREF="../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A> <B>getProject</B>()</PRE>
|
---|
356 | <DL>
|
---|
357 | <DD>Returns the project that fired this event.
|
---|
358 | <P>
|
---|
359 | <DD><DL>
|
---|
360 |
|
---|
361 | <DT><B>Returns:</B><DD>the project that fired this event</DL>
|
---|
362 | </DD>
|
---|
363 | </DL>
|
---|
364 | <HR>
|
---|
365 |
|
---|
366 | <A NAME="getTarget()"><!-- --></A><H3>
|
---|
367 | getTarget</H3>
|
---|
368 | <PRE>
|
---|
369 | public <A HREF="../../../../org/apache/tools/ant/Target.html" title="class in org.apache.tools.ant">Target</A> <B>getTarget</B>()</PRE>
|
---|
370 | <DL>
|
---|
371 | <DD>Returns the target that fired this event.
|
---|
372 | <P>
|
---|
373 | <DD><DL>
|
---|
374 |
|
---|
375 | <DT><B>Returns:</B><DD>the project that fired this event, or <code>null</code>
|
---|
376 | if this event is a project level event.</DL>
|
---|
377 | </DD>
|
---|
378 | </DL>
|
---|
379 | <HR>
|
---|
380 |
|
---|
381 | <A NAME="getTask()"><!-- --></A><H3>
|
---|
382 | getTask</H3>
|
---|
383 | <PRE>
|
---|
384 | public <A HREF="../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A> <B>getTask</B>()</PRE>
|
---|
385 | <DL>
|
---|
386 | <DD>Returns the task that fired this event.
|
---|
387 | <P>
|
---|
388 | <DD><DL>
|
---|
389 |
|
---|
390 | <DT><B>Returns:</B><DD>the task that fired this event, or <code>null</code>
|
---|
391 | if this event is a project or target level event.</DL>
|
---|
392 | </DD>
|
---|
393 | </DL>
|
---|
394 | <HR>
|
---|
395 |
|
---|
396 | <A NAME="getMessage()"><!-- --></A><H3>
|
---|
397 | getMessage</H3>
|
---|
398 | <PRE>
|
---|
399 | public java.lang.String <B>getMessage</B>()</PRE>
|
---|
400 | <DL>
|
---|
401 | <DD>Returns the logging message. This field will only be set
|
---|
402 | for "messageLogged" events.
|
---|
403 | <P>
|
---|
404 | <DD><DL>
|
---|
405 |
|
---|
406 | <DT><B>Returns:</B><DD>the message associated with this event, or <code>null</code>
|
---|
407 | if no message has been set.<DT><B>See Also:</B><DD><A HREF="../../../../org/apache/tools/ant/BuildListener.html#messageLogged(org.apache.tools.ant.BuildEvent)"><CODE>BuildListener.messageLogged(BuildEvent)</CODE></A></DL>
|
---|
408 | </DD>
|
---|
409 | </DL>
|
---|
410 | <HR>
|
---|
411 |
|
---|
412 | <A NAME="getPriority()"><!-- --></A><H3>
|
---|
413 | getPriority</H3>
|
---|
414 | <PRE>
|
---|
415 | public int <B>getPriority</B>()</PRE>
|
---|
416 | <DL>
|
---|
417 | <DD>Returns the priority of the logging message. This field will only
|
---|
418 | be set for "messageLogged" events. The meaning of this priority
|
---|
419 | is as specified by the constants in the <A HREF="../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant"><CODE>Project</CODE></A> class.
|
---|
420 | <P>
|
---|
421 | <DD><DL>
|
---|
422 |
|
---|
423 | <DT><B>Returns:</B><DD>the priority associated with this event.<DT><B>See Also:</B><DD><A HREF="../../../../org/apache/tools/ant/BuildListener.html#messageLogged(org.apache.tools.ant.BuildEvent)"><CODE>BuildListener.messageLogged(BuildEvent)</CODE></A></DL>
|
---|
424 | </DD>
|
---|
425 | </DL>
|
---|
426 | <HR>
|
---|
427 |
|
---|
428 | <A NAME="getException()"><!-- --></A><H3>
|
---|
429 | getException</H3>
|
---|
430 | <PRE>
|
---|
431 | public java.lang.Throwable <B>getException</B>()</PRE>
|
---|
432 | <DL>
|
---|
433 | <DD>Returns the exception that was thrown, if any. This field will only
|
---|
434 | be set for "taskFinished", "targetFinished", and "buildFinished"
|
---|
435 | events.
|
---|
436 | <P>
|
---|
437 | <DD><DL>
|
---|
438 |
|
---|
439 | <DT><B>Returns:</B><DD>the exception associated with this exception, or
|
---|
440 | <code>null</code> if no exception has been set.<DT><B>See Also:</B><DD><A HREF="../../../../org/apache/tools/ant/BuildListener.html#taskFinished(org.apache.tools.ant.BuildEvent)"><CODE>BuildListener.taskFinished(BuildEvent)</CODE></A>,
|
---|
441 | <A HREF="../../../../org/apache/tools/ant/BuildListener.html#targetFinished(org.apache.tools.ant.BuildEvent)"><CODE>BuildListener.targetFinished(BuildEvent)</CODE></A>,
|
---|
442 | <A HREF="../../../../org/apache/tools/ant/BuildListener.html#buildFinished(org.apache.tools.ant.BuildEvent)"><CODE>BuildListener.buildFinished(BuildEvent)</CODE></A></DL>
|
---|
443 | </DD>
|
---|
444 | </DL>
|
---|
445 | <!-- ========= END OF CLASS DATA ========= -->
|
---|
446 | <HR>
|
---|
447 |
|
---|
448 |
|
---|
449 | <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
---|
450 | <A NAME="navbar_bottom"><!-- --></A>
|
---|
451 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
---|
452 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
---|
453 | <TR>
|
---|
454 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
---|
455 | <A NAME="navbar_bottom_firstrow"><!-- --></A>
|
---|
456 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
---|
457 | <TR ALIGN="center" VALIGN="top">
|
---|
458 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
---|
459 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
---|
460 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
---|
461 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
---|
462 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
463 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
464 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
---|
465 | </TR>
|
---|
466 | </TABLE>
|
---|
467 | </TD>
|
---|
468 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
---|
469 | </EM>
|
---|
470 | </TD>
|
---|
471 | </TR>
|
---|
472 |
|
---|
473 | <TR>
|
---|
474 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
475 | <A HREF="../../../../org/apache/tools/ant/AntTypeDefinition.html" title="class in org.apache.tools.ant"><B>PREV CLASS</B></A>
|
---|
476 | <A HREF="../../../../org/apache/tools/ant/ComponentHelper.html" title="class in org.apache.tools.ant"><B>NEXT CLASS</B></A></FONT></TD>
|
---|
477 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
478 | <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A>
|
---|
479 | <A HREF="BuildEvent.html" target="_top"><B>NO FRAMES</B></A>
|
---|
480 | <SCRIPT type="text/javascript">
|
---|
481 | <!--
|
---|
482 | if(window==top) {
|
---|
483 | document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
---|
484 | }
|
---|
485 | //-->
|
---|
486 | </SCRIPT>
|
---|
487 | <NOSCRIPT>
|
---|
488 | <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
---|
489 | </NOSCRIPT>
|
---|
490 |
|
---|
491 | </FONT></TD>
|
---|
492 | </TR>
|
---|
493 | <TR>
|
---|
494 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
495 | SUMMARY: NESTED | <A HREF="#fields_inherited_from_class_java.util.EventObject">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
---|
496 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
497 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
---|
498 | </TR>
|
---|
499 | </TABLE>
|
---|
500 | <A NAME="skip-navbar_bottom"></A>
|
---|
501 | <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
---|
502 |
|
---|
503 | <HR>
|
---|
504 | Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.
|
---|
505 | </BODY>
|
---|
506 | </HTML>
|
---|