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:23 NZST 2007 -->
|
---|
6 | <TITLE>
|
---|
7 | Condition (Apache Ant API)
|
---|
8 | </TITLE>
|
---|
9 |
|
---|
10 | <META NAME="keywords" CONTENT="org.apache.tools.ant.taskdefs.condition.Condition interface">
|
---|
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="Condition (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 | PREV CLASS
|
---|
53 | NEXT CLASS</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="Condition.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 | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
---|
73 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
74 | DETAIL: FIELD | CONSTR | <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.taskdefs.condition</FONT>
|
---|
85 | <BR>
|
---|
86 | Interface Condition</H2>
|
---|
87 | <DL>
|
---|
88 | <DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../../../../org/apache/tools/ant/taskdefs/condition/And.html" title="class in org.apache.tools.ant.taskdefs.condition">And</A>, <A HREF="../../../../../../org/apache/tools/ant/taskdefs/Available.html" title="class in org.apache.tools.ant.taskdefs">Available</A>, <A HREF="../../../../../../org/apache/tools/ant/taskdefs/Checksum.html" title="class in org.apache.tools.ant.taskdefs">Checksum</A>, <A HREF="../../../../../../org/apache/tools/ant/taskdefs/condition/Contains.html" title="class in org.apache.tools.ant.taskdefs.condition">Contains</A>, <A HREF="../../../../../../org/apache/tools/ant/taskdefs/condition/Equals.html" title="class in org.apache.tools.ant.taskdefs.condition">Equals</A>, <A HREF="../../../../../../org/apache/tools/ant/taskdefs/condition/FilesMatch.html" title="class in org.apache.tools.ant.taskdefs.condition">FilesMatch</A>, <A HREF="../../../../../../org/apache/tools/ant/taskdefs/condition/Http.html" title="class in org.apache.tools.ant.taskdefs.condition">Http</A>, <A HREF="../../../../../../org/apache/tools/ant/taskdefs/condition/IsFalse.html" title="class in org.apache.tools.ant.taskdefs.condition">IsFalse</A>, <A HREF="../../../../../../org/apache/tools/ant/taskdefs/condition/IsFileSelected.html" title="class in org.apache.tools.ant.taskdefs.condition">IsFileSelected</A>, <A HREF="../../../../../../org/apache/tools/ant/taskdefs/condition/IsReference.html" title="class in org.apache.tools.ant.taskdefs.condition">IsReference</A>, <A HREF="../../../../../../org/apache/tools/ant/taskdefs/condition/IsSet.html" title="class in org.apache.tools.ant.taskdefs.condition">IsSet</A>, <A HREF="../../../../../../org/apache/tools/ant/taskdefs/condition/IsTrue.html" title="class in org.apache.tools.ant.taskdefs.condition">IsTrue</A>, <A HREF="../../../../../../org/apache/tools/ant/taskdefs/Length.html" title="class in org.apache.tools.ant.taskdefs">Length</A>, <A HREF="../../../../../../org/apache/tools/ant/taskdefs/condition/Not.html" title="class in org.apache.tools.ant.taskdefs.condition">Not</A>, <A HREF="../../../../../../org/apache/tools/ant/taskdefs/condition/Or.html" title="class in org.apache.tools.ant.taskdefs.condition">Or</A>, <A HREF="../../../../../../org/apache/tools/ant/taskdefs/condition/Os.html" title="class in org.apache.tools.ant.taskdefs.condition">Os</A>, <A HREF="../../../../../../org/apache/tools/ant/taskdefs/condition/Socket.html" title="class in org.apache.tools.ant.taskdefs.condition">Socket</A>, <A HREF="../../../../../../org/apache/tools/ant/taskdefs/UpToDate.html" title="class in org.apache.tools.ant.taskdefs">UpToDate</A></DD>
|
---|
89 | </DL>
|
---|
90 | <HR>
|
---|
91 | <DL>
|
---|
92 | <DT>public interface <B>Condition</B></DL>
|
---|
93 |
|
---|
94 | <P>
|
---|
95 | Interface for conditions to use inside the <condition> task.
|
---|
96 | <P>
|
---|
97 |
|
---|
98 | <P>
|
---|
99 | <HR>
|
---|
100 |
|
---|
101 | <P>
|
---|
102 | <!-- ======== NESTED CLASS SUMMARY ======== -->
|
---|
103 |
|
---|
104 |
|
---|
105 | <!-- =========== FIELD SUMMARY =========== -->
|
---|
106 |
|
---|
107 |
|
---|
108 | <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
---|
109 |
|
---|
110 |
|
---|
111 | <!-- ========== METHOD SUMMARY =========== -->
|
---|
112 |
|
---|
113 | <A NAME="method_summary"><!-- --></A>
|
---|
114 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
115 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
116 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
117 | <B>Method Summary</B></FONT></TD>
|
---|
118 | </TR>
|
---|
119 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
120 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
121 | <CODE> boolean</CODE></FONT></TD>
|
---|
122 | <TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/taskdefs/condition/Condition.html#eval()">eval</A></B>()</CODE>
|
---|
123 |
|
---|
124 | <BR>
|
---|
125 | Is this condition true?</TD>
|
---|
126 | </TR>
|
---|
127 | </TABLE>
|
---|
128 |
|
---|
129 | <P>
|
---|
130 |
|
---|
131 | <!-- ============ FIELD DETAIL =========== -->
|
---|
132 |
|
---|
133 |
|
---|
134 | <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
---|
135 |
|
---|
136 |
|
---|
137 | <!-- ============ METHOD DETAIL ========== -->
|
---|
138 |
|
---|
139 | <A NAME="method_detail"><!-- --></A>
|
---|
140 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
141 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
142 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
143 | <B>Method Detail</B></FONT></TD>
|
---|
144 | </TR>
|
---|
145 | </TABLE>
|
---|
146 |
|
---|
147 | <A NAME="eval()"><!-- --></A><H3>
|
---|
148 | eval</H3>
|
---|
149 | <PRE>
|
---|
150 | public boolean <B>eval</B>()
|
---|
151 | throws <A HREF="../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
|
---|
152 | <DL>
|
---|
153 | <DD>Is this condition true?
|
---|
154 | <P>
|
---|
155 | <DD><DL>
|
---|
156 |
|
---|
157 | <DT><B>Returns:</B><DD>true if the condition is true
|
---|
158 | <DT><B>Throws:</B>
|
---|
159 | <DD><CODE><A HREF="../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE> - if an error occurs</DL>
|
---|
160 | </DD>
|
---|
161 | </DL>
|
---|
162 | <!-- ========= END OF CLASS DATA ========= -->
|
---|
163 | <HR>
|
---|
164 |
|
---|
165 |
|
---|
166 | <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
---|
167 | <A NAME="navbar_bottom"><!-- --></A>
|
---|
168 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
---|
169 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
---|
170 | <TR>
|
---|
171 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
---|
172 | <A NAME="navbar_bottom_firstrow"><!-- --></A>
|
---|
173 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
---|
174 | <TR ALIGN="center" VALIGN="top">
|
---|
175 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
---|
176 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
---|
177 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
---|
178 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
---|
179 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
180 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
181 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
---|
182 | </TR>
|
---|
183 | </TABLE>
|
---|
184 | </TD>
|
---|
185 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
---|
186 | </EM>
|
---|
187 | </TD>
|
---|
188 | </TR>
|
---|
189 |
|
---|
190 | <TR>
|
---|
191 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
192 | PREV CLASS
|
---|
193 | NEXT CLASS</FONT></TD>
|
---|
194 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
195 | <A HREF="../../../../../../index.html" target="_top"><B>FRAMES</B></A>
|
---|
196 | <A HREF="Condition.html" target="_top"><B>NO FRAMES</B></A>
|
---|
197 | <SCRIPT type="text/javascript">
|
---|
198 | <!--
|
---|
199 | if(window==top) {
|
---|
200 | document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
---|
201 | }
|
---|
202 | //-->
|
---|
203 | </SCRIPT>
|
---|
204 | <NOSCRIPT>
|
---|
205 | <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
---|
206 | </NOSCRIPT>
|
---|
207 |
|
---|
208 | </FONT></TD>
|
---|
209 | </TR>
|
---|
210 | <TR>
|
---|
211 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
212 | SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
---|
213 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
214 | DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
---|
215 | </TR>
|
---|
216 | </TABLE>
|
---|
217 | <A NAME="skip-navbar_bottom"></A>
|
---|
218 | <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
---|
219 |
|
---|
220 | <HR>
|
---|
221 | Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.
|
---|
222 | </BODY>
|
---|
223 | </HTML>
|
---|