source: other-projects/trunk/gs3-release-maker/apache-ant-1.6.5/build/javadocs/org/apache/tools/ant/types/Assertions.html@ 14627

Last change on this file since 14627 was 14627, checked in by oranfry, 17 years ago

initial import of the gs3-release-maker

File size: 25.3 KB
Line 
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:32 NZST 2007 -->
6<TITLE>
7Assertions (Apache Ant API)
8</TITLE>
9
10<META NAME="keywords" CONTENT="org.apache.tools.ant.types.Assertions class">
11
12<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
13
14<SCRIPT type="text/javascript">
15function windowTitle()
16{
17 parent.document.title="Assertions (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>&nbsp;</TD>
36 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
37 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
38 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
39 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
40 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</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&nbsp;<A HREF="../../../../../org/apache/tools/ant/types/AntFilterReader.html" title="class in org.apache.tools.ant.types"><B>PREV CLASS</B></A>&nbsp;
53&nbsp;<A HREF="../../../../../org/apache/tools/ant/types/Assertions.BaseAssertion.html" title="class in org.apache.tools.ant.types"><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> &nbsp;
56&nbsp;<A HREF="Assertions.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
57&nbsp;<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:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_org.apache.tools.ant.types.DataType">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
73<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
74DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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">
84org.apache.tools.ant.types</FONT>
85<BR>
86Class Assertions</H2>
87<PRE>
88java.lang.Object
89 <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html" title="class in org.apache.tools.ant">org.apache.tools.ant.ProjectComponent</A>
90 <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><A HREF="../../../../../org/apache/tools/ant/types/DataType.html" title="class in org.apache.tools.ant.types">org.apache.tools.ant.types.DataType</A>
91 <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.tools.ant.types.Assertions</B>
92</PRE>
93<DL>
94<DT><B>All Implemented Interfaces:</B> <DD>java.lang.Cloneable</DD>
95</DL>
96<HR>
97<DL>
98<DT>public class <B>Assertions</B><DT>extends <A HREF="../../../../../org/apache/tools/ant/types/DataType.html" title="class in org.apache.tools.ant.types">DataType</A><DT>implements java.lang.Cloneable</DL>
99
100<P>
101The assertion datatype. This type describes
102 assertion settings for the &lt;java&gt; task and others.
103 One can set the system assertions, and enable/disable those in
104 packages and classes.
105 Assertions can only be enabled or disabled when forking Java.
106
107 Example: set system assertions and all org.apache packages except
108 for ant, and the class org.apache.tools.ant.Main.
109 <pre>
110 &lt;assertions enableSystemAssertions="true" &gt;
111 &lt;enable package="org.apache" /&gt;
112 &lt;disable package="org.apache.ant" /&gt;
113 &lt;enable class="org.apache.tools.ant.Main"/&gt;
114 &lt;/assertions&gt;
115</pre>
116 Disable system assertions; enable those in the anonymous package
117 <pre>
118 &lt;assertions enableSystemAssertions="false" &gt;
119 &lt;enable package="..." /&gt;
120 &lt;/assertions&gt;
121 </pre>
122 enable assertions in a class called Test
123 <pre>
124 &lt;assertions &gt;
125 &lt;enable class="Test" /&gt;
126 &lt;/assertions&gt;
127 </pre>
128 This type is a datatype, so you can declare assertions and use them later
129
130 <pre>
131 &lt;assertions id="project.assertions" &gt;
132 &lt;enable project="org.apache.test" /&gt;
133 &lt;/assertions&gt;
134
135 &lt;assertions refid="project.assertions" /&gt;
136
137 </pre>
138<P>
139
140<P>
141<DL>
142<DT><B>Since:</B></DT>
143 <DD>Ant 1.6</DD>
144</DL>
145<HR>
146
147<P>
148<!-- ======== NESTED CLASS SUMMARY ======== -->
149
150<A NAME="nested_class_summary"><!-- --></A>
151<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
152<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
153<TD COLSPAN=2><FONT SIZE="+2">
154<B>Nested Class Summary</B></FONT></TD>
155</TR>
156<TR BGCOLOR="white" CLASS="TableRowColor">
157<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
158<CODE>static&nbsp;class</CODE></FONT></TD>
159<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/Assertions.BaseAssertion.html" title="class in org.apache.tools.ant.types">Assertions.BaseAssertion</A></B></CODE>
160
161<BR>
162&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;base class for our assertion elements.</TD>
163</TR>
164<TR BGCOLOR="white" CLASS="TableRowColor">
165<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
166<CODE>static&nbsp;class</CODE></FONT></TD>
167<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/Assertions.DisabledAssertion.html" title="class in org.apache.tools.ant.types">Assertions.DisabledAssertion</A></B></CODE>
168
169<BR>
170&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A disabled assertion disables things</TD>
171</TR>
172<TR BGCOLOR="white" CLASS="TableRowColor">
173<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
174<CODE>static&nbsp;class</CODE></FONT></TD>
175<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/Assertions.EnabledAssertion.html" title="class in org.apache.tools.ant.types">Assertions.EnabledAssertion</A></B></CODE>
176
177<BR>
178&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;an enabled assertion enables things</TD>
179</TR>
180</TABLE>
181&nbsp;
182<!-- =========== FIELD SUMMARY =========== -->
183
184<A NAME="field_summary"><!-- --></A>
185<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
186<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
187<TD COLSPAN=2><FONT SIZE="+2">
188<B>Field Summary</B></FONT></TD>
189</TR>
190</TABLE>
191&nbsp;<A NAME="fields_inherited_from_class_org.apache.tools.ant.types.DataType"><!-- --></A>
192<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
193<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
194<TD><B>Fields inherited from class org.apache.tools.ant.types.<A HREF="../../../../../org/apache/tools/ant/types/DataType.html" title="class in org.apache.tools.ant.types">DataType</A></B></TD>
195</TR>
196<TR BGCOLOR="white" CLASS="TableRowColor">
197<TD><CODE><A HREF="../../../../../org/apache/tools/ant/types/DataType.html#checked">checked</A>, <A HREF="../../../../../org/apache/tools/ant/types/DataType.html#description">description</A>, <A HREF="../../../../../org/apache/tools/ant/types/DataType.html#ref">ref</A></CODE></TD>
198</TR>
199</TABLE>
200&nbsp;<A NAME="fields_inherited_from_class_org.apache.tools.ant.ProjectComponent"><!-- --></A>
201<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
202<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
203<TD><B>Fields inherited from class org.apache.tools.ant.<A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html" title="class in org.apache.tools.ant">ProjectComponent</A></B></TD>
204</TR>
205<TR BGCOLOR="white" CLASS="TableRowColor">
206<TD><CODE><A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html#project">project</A></CODE></TD>
207</TR>
208</TABLE>
209&nbsp;
210<!-- ======== CONSTRUCTOR SUMMARY ======== -->
211
212<A NAME="constructor_summary"><!-- --></A>
213<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
214<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
215<TD COLSPAN=2><FONT SIZE="+2">
216<B>Constructor Summary</B></FONT></TD>
217</TR>
218<TR BGCOLOR="white" CLASS="TableRowColor">
219<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/Assertions.html#Assertions()">Assertions</A></B>()</CODE>
220
221<BR>
222&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
223</TR>
224</TABLE>
225&nbsp;
226<!-- ========== METHOD SUMMARY =========== -->
227
228<A NAME="method_summary"><!-- --></A>
229<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
230<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
231<TD COLSPAN=2><FONT SIZE="+2">
232<B>Method Summary</B></FONT></TD>
233</TR>
234<TR BGCOLOR="white" CLASS="TableRowColor">
235<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
236<CODE>&nbsp;void</CODE></FONT></TD>
237<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/Assertions.html#addDisable(org.apache.tools.ant.types.Assertions.DisabledAssertion)">addDisable</A></B>(<A HREF="../../../../../org/apache/tools/ant/types/Assertions.DisabledAssertion.html" title="class in org.apache.tools.ant.types">Assertions.DisabledAssertion</A>&nbsp;assertion)</CODE>
238
239<BR>
240&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;disable assertions</TD>
241</TR>
242<TR BGCOLOR="white" CLASS="TableRowColor">
243<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
244<CODE>&nbsp;void</CODE></FONT></TD>
245<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/Assertions.html#addEnable(org.apache.tools.ant.types.Assertions.EnabledAssertion)">addEnable</A></B>(<A HREF="../../../../../org/apache/tools/ant/types/Assertions.EnabledAssertion.html" title="class in org.apache.tools.ant.types">Assertions.EnabledAssertion</A>&nbsp;assertion)</CODE>
246
247<BR>
248&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;enable assertions</TD>
249</TR>
250<TR BGCOLOR="white" CLASS="TableRowColor">
251<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
252<CODE>&nbsp;void</CODE></FONT></TD>
253<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/Assertions.html#applyAssertions(org.apache.tools.ant.types.CommandlineJava)">applyAssertions</A></B>(<A HREF="../../../../../org/apache/tools/ant/types/CommandlineJava.html" title="class in org.apache.tools.ant.types">CommandlineJava</A>&nbsp;command)</CODE>
254
255<BR>
256&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;apply all the assertions to the command.</TD>
257</TR>
258<TR BGCOLOR="white" CLASS="TableRowColor">
259<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
260<CODE>&nbsp;void</CODE></FONT></TD>
261<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/Assertions.html#applyAssertions(java.util.List)">applyAssertions</A></B>(java.util.List&nbsp;commandList)</CODE>
262
263<BR>
264&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;add the assertions to a list in a format suitable
265 for adding to a command line</TD>
266</TR>
267<TR BGCOLOR="white" CLASS="TableRowColor">
268<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
269<CODE>&nbsp;void</CODE></FONT></TD>
270<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/Assertions.html#applyAssertions(java.util.ListIterator)">applyAssertions</A></B>(java.util.ListIterator&nbsp;commandIterator)</CODE>
271
272<BR>
273&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;add the assertions to a list in a format suitable
274 for adding to a command line</TD>
275</TR>
276<TR BGCOLOR="white" CLASS="TableRowColor">
277<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
278<CODE>&nbsp;java.lang.Object</CODE></FONT></TD>
279<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/Assertions.html#clone()">clone</A></B>()</CODE>
280
281<BR>
282&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;clone the objects.</TD>
283</TR>
284<TR BGCOLOR="white" CLASS="TableRowColor">
285<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
286<CODE>&nbsp;void</CODE></FONT></TD>
287<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/Assertions.html#setEnableSystemAssertions(java.lang.Boolean)">setEnableSystemAssertions</A></B>(java.lang.Boolean&nbsp;enableSystemAssertions)</CODE>
288
289<BR>
290&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;enable or disable system assertions</TD>
291</TR>
292<TR BGCOLOR="white" CLASS="TableRowColor">
293<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
294<CODE>&nbsp;void</CODE></FONT></TD>
295<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/Assertions.html#setRefid(org.apache.tools.ant.types.Reference)">setRefid</A></B>(<A HREF="../../../../../org/apache/tools/ant/types/Reference.html" title="class in org.apache.tools.ant.types">Reference</A>&nbsp;ref)</CODE>
296
297<BR>
298&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the value of the refid attribute.</TD>
299</TR>
300<TR BGCOLOR="white" CLASS="TableRowColor">
301<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
302<CODE>&nbsp;int</CODE></FONT></TD>
303<TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/Assertions.html#size()">size</A></B>()</CODE>
304
305<BR>
306&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;how many assertions are made...will resolve references before returning</TD>
307</TR>
308</TABLE>
309&nbsp;<A NAME="methods_inherited_from_class_org.apache.tools.ant.types.DataType"><!-- --></A>
310<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
311<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
312<TD><B>Methods inherited from class org.apache.tools.ant.types.<A HREF="../../../../../org/apache/tools/ant/types/DataType.html" title="class in org.apache.tools.ant.types">DataType</A></B></TD>
313</TR>
314<TR BGCOLOR="white" CLASS="TableRowColor">
315<TD><CODE><A HREF="../../../../../org/apache/tools/ant/types/DataType.html#checkAttributesAllowed()">checkAttributesAllowed</A>, <A HREF="../../../../../org/apache/tools/ant/types/DataType.html#checkChildrenAllowed()">checkChildrenAllowed</A>, <A HREF="../../../../../org/apache/tools/ant/types/DataType.html#circularReference()">circularReference</A>, <A HREF="../../../../../org/apache/tools/ant/types/DataType.html#dieOnCircularReference(java.util.Stack, org.apache.tools.ant.Project)">dieOnCircularReference</A>, <A HREF="../../../../../org/apache/tools/ant/types/DataType.html#getCheckedRef(java.lang.Class, java.lang.String)">getCheckedRef</A>, <A HREF="../../../../../org/apache/tools/ant/types/DataType.html#getDescription()">getDescription</A>, <A HREF="../../../../../org/apache/tools/ant/types/DataType.html#getRefid()">getRefid</A>, <A HREF="../../../../../org/apache/tools/ant/types/DataType.html#isChecked()">isChecked</A>, <A HREF="../../../../../org/apache/tools/ant/types/DataType.html#isReference()">isReference</A>, <A HREF="../../../../../org/apache/tools/ant/types/DataType.html#noChildrenAllowed()">noChildrenAllowed</A>, <A HREF="../../../../../org/apache/tools/ant/types/DataType.html#setChecked(boolean)">setChecked</A>, <A HREF="../../../../../org/apache/tools/ant/types/DataType.html#setDescription(java.lang.String)">setDescription</A>, <A HREF="../../../../../org/apache/tools/ant/types/DataType.html#tooManyAttributes()">tooManyAttributes</A></CODE></TD>
316</TR>
317</TABLE>
318&nbsp;<A NAME="methods_inherited_from_class_org.apache.tools.ant.ProjectComponent"><!-- --></A>
319<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
320<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
321<TD><B>Methods inherited from class org.apache.tools.ant.<A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html" title="class in org.apache.tools.ant">ProjectComponent</A></B></TD>
322</TR>
323<TR BGCOLOR="white" CLASS="TableRowColor">
324<TD><CODE><A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html#getProject()">getProject</A>, <A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html#log(java.lang.String)">log</A>, <A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html#log(java.lang.String, int)">log</A>, <A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html#setProject(org.apache.tools.ant.Project)">setProject</A></CODE></TD>
325</TR>
326</TABLE>
327&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
328<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
329<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
330<TD><B>Methods inherited from class java.lang.Object</B></TD>
331</TR>
332<TR BGCOLOR="white" CLASS="TableRowColor">
333<TD><CODE>equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
334</TR>
335</TABLE>
336&nbsp;
337<P>
338
339<!-- ============ FIELD DETAIL =========== -->
340
341
342<!-- ========= CONSTRUCTOR DETAIL ======== -->
343
344<A NAME="constructor_detail"><!-- --></A>
345<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
346<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
347<TD COLSPAN=1><FONT SIZE="+2">
348<B>Constructor Detail</B></FONT></TD>
349</TR>
350</TABLE>
351
352<A NAME="Assertions()"><!-- --></A><H3>
353Assertions</H3>
354<PRE>
355public <B>Assertions</B>()</PRE>
356<DL>
357</DL>
358
359<!-- ============ METHOD DETAIL ========== -->
360
361<A NAME="method_detail"><!-- --></A>
362<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
363<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
364<TD COLSPAN=1><FONT SIZE="+2">
365<B>Method Detail</B></FONT></TD>
366</TR>
367</TABLE>
368
369<A NAME="addEnable(org.apache.tools.ant.types.Assertions.EnabledAssertion)"><!-- --></A><H3>
370addEnable</H3>
371<PRE>
372public void <B>addEnable</B>(<A HREF="../../../../../org/apache/tools/ant/types/Assertions.EnabledAssertion.html" title="class in org.apache.tools.ant.types">Assertions.EnabledAssertion</A>&nbsp;assertion)</PRE>
373<DL>
374<DD>enable assertions
375<P>
376<DD><DL>
377</DL>
378</DD>
379<DD><DL>
380<DT><B>Parameters:</B><DD><CODE>assertion</CODE> - </DL>
381</DD>
382</DL>
383<HR>
384
385<A NAME="addDisable(org.apache.tools.ant.types.Assertions.DisabledAssertion)"><!-- --></A><H3>
386addDisable</H3>
387<PRE>
388public void <B>addDisable</B>(<A HREF="../../../../../org/apache/tools/ant/types/Assertions.DisabledAssertion.html" title="class in org.apache.tools.ant.types">Assertions.DisabledAssertion</A>&nbsp;assertion)</PRE>
389<DL>
390<DD>disable assertions
391<P>
392<DD><DL>
393</DL>
394</DD>
395<DD><DL>
396<DT><B>Parameters:</B><DD><CODE>assertion</CODE> - </DL>
397</DD>
398</DL>
399<HR>
400
401<A NAME="setEnableSystemAssertions(java.lang.Boolean)"><!-- --></A><H3>
402setEnableSystemAssertions</H3>
403<PRE>
404public void <B>setEnableSystemAssertions</B>(java.lang.Boolean&nbsp;enableSystemAssertions)</PRE>
405<DL>
406<DD>enable or disable system assertions
407<P>
408<DD><DL>
409</DL>
410</DD>
411<DD><DL>
412<DT><B>Parameters:</B><DD><CODE>enableSystemAssertions</CODE> - </DL>
413</DD>
414</DL>
415<HR>
416
417<A NAME="setRefid(org.apache.tools.ant.types.Reference)"><!-- --></A><H3>
418setRefid</H3>
419<PRE>
420public void <B>setRefid</B>(<A HREF="../../../../../org/apache/tools/ant/types/Reference.html" title="class in org.apache.tools.ant.types">Reference</A>&nbsp;ref)</PRE>
421<DL>
422<DD>Set the value of the refid attribute.
423
424 <p>Subclasses may need to check whether any other attributes
425 have been set as well or child elements have been created and
426 thus override this method. if they do the must call
427 <code>super.setRefid</code>.</p>
428<P>
429<DD><DL>
430<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/tools/ant/types/DataType.html#setRefid(org.apache.tools.ant.types.Reference)">setRefid</A></CODE> in class <CODE><A HREF="../../../../../org/apache/tools/ant/types/DataType.html" title="class in org.apache.tools.ant.types">DataType</A></CODE></DL>
431</DD>
432<DD><DL>
433</DL>
434</DD>
435</DL>
436<HR>
437
438<A NAME="size()"><!-- --></A><H3>
439size</H3>
440<PRE>
441public int <B>size</B>()</PRE>
442<DL>
443<DD>how many assertions are made...will resolve references before returning
444<P>
445<DD><DL>
446</DL>
447</DD>
448<DD><DL>
449
450<DT><B>Returns:</B><DD>total # of commands to make</DL>
451</DD>
452</DL>
453<HR>
454
455<A NAME="applyAssertions(java.util.List)"><!-- --></A><H3>
456applyAssertions</H3>
457<PRE>
458public void <B>applyAssertions</B>(java.util.List&nbsp;commandList)</PRE>
459<DL>
460<DD>add the assertions to a list in a format suitable
461 for adding to a command line
462<P>
463<DD><DL>
464</DL>
465</DD>
466<DD><DL>
467<DT><B>Parameters:</B><DD><CODE>commandList</CODE> - </DL>
468</DD>
469</DL>
470<HR>
471
472<A NAME="applyAssertions(org.apache.tools.ant.types.CommandlineJava)"><!-- --></A><H3>
473applyAssertions</H3>
474<PRE>
475public void <B>applyAssertions</B>(<A HREF="../../../../../org/apache/tools/ant/types/CommandlineJava.html" title="class in org.apache.tools.ant.types">CommandlineJava</A>&nbsp;command)</PRE>
476<DL>
477<DD>apply all the assertions to the command.
478<P>
479<DD><DL>
480</DL>
481</DD>
482<DD><DL>
483<DT><B>Parameters:</B><DD><CODE>command</CODE> - </DL>
484</DD>
485</DL>
486<HR>
487
488<A NAME="applyAssertions(java.util.ListIterator)"><!-- --></A><H3>
489applyAssertions</H3>
490<PRE>
491public void <B>applyAssertions</B>(java.util.ListIterator&nbsp;commandIterator)</PRE>
492<DL>
493<DD>add the assertions to a list in a format suitable
494 for adding to a command line
495<P>
496<DD><DL>
497</DL>
498</DD>
499<DD><DL>
500<DT><B>Parameters:</B><DD><CODE>commandIterator</CODE> - list of commands</DL>
501</DD>
502</DL>
503<HR>
504
505<A NAME="clone()"><!-- --></A><H3>
506clone</H3>
507<PRE>
508public java.lang.Object <B>clone</B>()
509 throws java.lang.CloneNotSupportedException</PRE>
510<DL>
511<DD>clone the objects.
512 This is not a full depth clone; the list of assertions is cloned,
513 but it does not clone the underlying assertions.
514<P>
515<DD><DL>
516</DL>
517</DD>
518<DD><DL>
519
520<DT><B>Returns:</B><DD>a cli
521<DT><B>Throws:</B>
522<DD><CODE>java.lang.CloneNotSupportedException</CODE></DL>
523</DD>
524</DL>
525<!-- ========= END OF CLASS DATA ========= -->
526<HR>
527
528
529<!-- ======= START OF BOTTOM NAVBAR ====== -->
530<A NAME="navbar_bottom"><!-- --></A>
531<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
532<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
533<TR>
534<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
535<A NAME="navbar_bottom_firstrow"><!-- --></A>
536<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
537 <TR ALIGN="center" VALIGN="top">
538 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
539 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
540 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
541 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
542 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
543 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
544 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
545 </TR>
546</TABLE>
547</TD>
548<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
549</EM>
550</TD>
551</TR>
552
553<TR>
554<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
555&nbsp;<A HREF="../../../../../org/apache/tools/ant/types/AntFilterReader.html" title="class in org.apache.tools.ant.types"><B>PREV CLASS</B></A>&nbsp;
556&nbsp;<A HREF="../../../../../org/apache/tools/ant/types/Assertions.BaseAssertion.html" title="class in org.apache.tools.ant.types"><B>NEXT CLASS</B></A></FONT></TD>
557<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
558 <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A> &nbsp;
559&nbsp;<A HREF="Assertions.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
560&nbsp;<SCRIPT type="text/javascript">
561 <!--
562 if(window==top) {
563 document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
564 }
565 //-->
566</SCRIPT>
567<NOSCRIPT>
568 <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
569</NOSCRIPT>
570
571</FONT></TD>
572</TR>
573<TR>
574<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
575 SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_org.apache.tools.ant.types.DataType">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
576<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
577DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
578</TR>
579</TABLE>
580<A NAME="skip-navbar_bottom"></A>
581<!-- ======== END OF BOTTOM NAVBAR ======= -->
582
583<HR>
584Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.
585</BODY>
586</HTML>
Note: See TracBrowser for help on using the repository browser.