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:19 NZST 2007 -->
|
---|
6 | <TITLE>
|
---|
7 | Input (Apache Ant API)
|
---|
8 | </TITLE>
|
---|
9 |
|
---|
10 | <META NAME="keywords" CONTENT="org.apache.tools.ant.taskdefs.Input 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="Input (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/taskdefs/ImportTask.html" title="class in org.apache.tools.ant.taskdefs"><B>PREV CLASS</B></A>
|
---|
53 | <A HREF="../../../../../org/apache/tools/ant/taskdefs/Jar.html" title="class in org.apache.tools.ant.taskdefs"><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="Input.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_org.apache.tools.ant.Task">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.taskdefs</FONT>
|
---|
85 | <BR>
|
---|
86 | Class Input</H2>
|
---|
87 | <PRE>
|
---|
88 | java.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/Task.html" title="class in org.apache.tools.ant">org.apache.tools.ant.Task</A>
|
---|
91 | <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.tools.ant.taskdefs.Input</B>
|
---|
92 | </PRE>
|
---|
93 | <HR>
|
---|
94 | <DL>
|
---|
95 | <DT>public class <B>Input</B><DT>extends <A HREF="../../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A></DL>
|
---|
96 |
|
---|
97 | <P>
|
---|
98 | Reads an input line from the console.
|
---|
99 | <P>
|
---|
100 |
|
---|
101 | <P>
|
---|
102 | <DL>
|
---|
103 | <DT><B>Since:</B></DT>
|
---|
104 | <DD>Ant 1.5</DD>
|
---|
105 | </DL>
|
---|
106 | <HR>
|
---|
107 |
|
---|
108 | <P>
|
---|
109 | <!-- ======== NESTED CLASS SUMMARY ======== -->
|
---|
110 |
|
---|
111 |
|
---|
112 | <!-- =========== FIELD SUMMARY =========== -->
|
---|
113 |
|
---|
114 | <A NAME="field_summary"><!-- --></A>
|
---|
115 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
116 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
117 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
118 | <B>Field Summary</B></FONT></TD>
|
---|
119 | </TR>
|
---|
120 | </TABLE>
|
---|
121 | <A NAME="fields_inherited_from_class_org.apache.tools.ant.Task"><!-- --></A>
|
---|
122 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
123 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
124 | <TD><B>Fields inherited from class org.apache.tools.ant.<A HREF="../../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A></B></TD>
|
---|
125 | </TR>
|
---|
126 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
127 | <TD><CODE><A HREF="../../../../../org/apache/tools/ant/Task.html#description">description</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#location">location</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#target">target</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#taskName">taskName</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#taskType">taskType</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#wrapper">wrapper</A></CODE></TD>
|
---|
128 | </TR>
|
---|
129 | </TABLE>
|
---|
130 | <A NAME="fields_inherited_from_class_org.apache.tools.ant.ProjectComponent"><!-- --></A>
|
---|
131 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
132 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
133 | <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>
|
---|
134 | </TR>
|
---|
135 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
136 | <TD><CODE><A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html#project">project</A></CODE></TD>
|
---|
137 | </TR>
|
---|
138 | </TABLE>
|
---|
139 |
|
---|
140 | <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
---|
141 |
|
---|
142 | <A NAME="constructor_summary"><!-- --></A>
|
---|
143 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
144 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
145 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
146 | <B>Constructor Summary</B></FONT></TD>
|
---|
147 | </TR>
|
---|
148 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
149 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Input.html#Input()">Input</A></B>()</CODE>
|
---|
150 |
|
---|
151 | <BR>
|
---|
152 | No arg constructor.</TD>
|
---|
153 | </TR>
|
---|
154 | </TABLE>
|
---|
155 |
|
---|
156 | <!-- ========== METHOD SUMMARY =========== -->
|
---|
157 |
|
---|
158 | <A NAME="method_summary"><!-- --></A>
|
---|
159 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
160 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
161 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
162 | <B>Method Summary</B></FONT></TD>
|
---|
163 | </TR>
|
---|
164 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
165 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
166 | <CODE> void</CODE></FONT></TD>
|
---|
167 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Input.html#addText(java.lang.String)">addText</A></B>(java.lang.String msg)</CODE>
|
---|
168 |
|
---|
169 | <BR>
|
---|
170 | Set a multiline message.</TD>
|
---|
171 | </TR>
|
---|
172 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
173 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
174 | <CODE> void</CODE></FONT></TD>
|
---|
175 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Input.html#execute()">execute</A></B>()</CODE>
|
---|
176 |
|
---|
177 | <BR>
|
---|
178 | Actual method executed by ant.</TD>
|
---|
179 | </TR>
|
---|
180 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
181 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
182 | <CODE> void</CODE></FONT></TD>
|
---|
183 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Input.html#setAddproperty(java.lang.String)">setAddproperty</A></B>(java.lang.String addproperty)</CODE>
|
---|
184 |
|
---|
185 | <BR>
|
---|
186 | Defines the name of a property to be created from input.</TD>
|
---|
187 | </TR>
|
---|
188 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
189 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
190 | <CODE> void</CODE></FONT></TD>
|
---|
191 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Input.html#setDefaultvalue(java.lang.String)">setDefaultvalue</A></B>(java.lang.String defaultvalue)</CODE>
|
---|
192 |
|
---|
193 | <BR>
|
---|
194 | Defines the default value of the property to be created from input.</TD>
|
---|
195 | </TR>
|
---|
196 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
197 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
198 | <CODE> void</CODE></FONT></TD>
|
---|
199 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Input.html#setMessage(java.lang.String)">setMessage</A></B>(java.lang.String message)</CODE>
|
---|
200 |
|
---|
201 | <BR>
|
---|
202 | Sets the Message which gets displayed to the user during the build run.</TD>
|
---|
203 | </TR>
|
---|
204 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
205 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
206 | <CODE> void</CODE></FONT></TD>
|
---|
207 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Input.html#setValidargs(java.lang.String)">setValidargs</A></B>(java.lang.String validargs)</CODE>
|
---|
208 |
|
---|
209 | <BR>
|
---|
210 | Defines valid input parameters as comma separated strings.</TD>
|
---|
211 | </TR>
|
---|
212 | </TABLE>
|
---|
213 | <A NAME="methods_inherited_from_class_org.apache.tools.ant.Task"><!-- --></A>
|
---|
214 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
215 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
216 | <TD><B>Methods inherited from class org.apache.tools.ant.<A HREF="../../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A></B></TD>
|
---|
217 | </TR>
|
---|
218 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
219 | <TD><CODE><A HREF="../../../../../org/apache/tools/ant/Task.html#getDescription()">getDescription</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#getLocation()">getLocation</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#getOwningTarget()">getOwningTarget</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#getRuntimeConfigurableWrapper()">getRuntimeConfigurableWrapper</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#getTaskName()">getTaskName</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#getTaskType()">getTaskType</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#getWrapper()">getWrapper</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#handleErrorFlush(java.lang.String)">handleErrorFlush</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#handleErrorOutput(java.lang.String)">handleErrorOutput</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#handleFlush(java.lang.String)">handleFlush</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#handleInput(byte[], int, int)">handleInput</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#handleOutput(java.lang.String)">handleOutput</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#init()">init</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#isInvalid()">isInvalid</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#log(java.lang.String)">log</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#log(java.lang.String, int)">log</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#maybeConfigure()">maybeConfigure</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#perform()">perform</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#reconfigure()">reconfigure</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#setDescription(java.lang.String)">setDescription</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#setLocation(org.apache.tools.ant.Location)">setLocation</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#setOwningTarget(org.apache.tools.ant.Target)">setOwningTarget</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#setRuntimeConfigurableWrapper(org.apache.tools.ant.RuntimeConfigurable)">setRuntimeConfigurableWrapper</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#setTaskName(java.lang.String)">setTaskName</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#setTaskType(java.lang.String)">setTaskType</A></CODE></TD>
|
---|
220 | </TR>
|
---|
221 | </TABLE>
|
---|
222 | <A NAME="methods_inherited_from_class_org.apache.tools.ant.ProjectComponent"><!-- --></A>
|
---|
223 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
224 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
225 | <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>
|
---|
226 | </TR>
|
---|
227 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
228 | <TD><CODE><A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html#getProject()">getProject</A>, <A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html#setProject(org.apache.tools.ant.Project)">setProject</A></CODE></TD>
|
---|
229 | </TR>
|
---|
230 | </TABLE>
|
---|
231 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
---|
232 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
233 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
234 | <TD><B>Methods inherited from class java.lang.Object</B></TD>
|
---|
235 | </TR>
|
---|
236 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
237 | <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
|
---|
238 | </TR>
|
---|
239 | </TABLE>
|
---|
240 |
|
---|
241 | <P>
|
---|
242 |
|
---|
243 | <!-- ============ FIELD DETAIL =========== -->
|
---|
244 |
|
---|
245 |
|
---|
246 | <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
---|
247 |
|
---|
248 | <A NAME="constructor_detail"><!-- --></A>
|
---|
249 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
250 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
251 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
252 | <B>Constructor Detail</B></FONT></TD>
|
---|
253 | </TR>
|
---|
254 | </TABLE>
|
---|
255 |
|
---|
256 | <A NAME="Input()"><!-- --></A><H3>
|
---|
257 | Input</H3>
|
---|
258 | <PRE>
|
---|
259 | public <B>Input</B>()</PRE>
|
---|
260 | <DL>
|
---|
261 | <DD>No arg constructor.
|
---|
262 | <P>
|
---|
263 | </DL>
|
---|
264 |
|
---|
265 | <!-- ============ METHOD DETAIL ========== -->
|
---|
266 |
|
---|
267 | <A NAME="method_detail"><!-- --></A>
|
---|
268 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
269 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
270 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
271 | <B>Method Detail</B></FONT></TD>
|
---|
272 | </TR>
|
---|
273 | </TABLE>
|
---|
274 |
|
---|
275 | <A NAME="setValidargs(java.lang.String)"><!-- --></A><H3>
|
---|
276 | setValidargs</H3>
|
---|
277 | <PRE>
|
---|
278 | public void <B>setValidargs</B>(java.lang.String validargs)</PRE>
|
---|
279 | <DL>
|
---|
280 | <DD>Defines valid input parameters as comma separated strings. If set, input
|
---|
281 | task will reject any input not defined as accepted and requires the user
|
---|
282 | to reenter it. Validargs are case sensitive. If you want 'a' and 'A' to
|
---|
283 | be accepted you need to define both values as accepted arguments.
|
---|
284 | <P>
|
---|
285 | <DD><DL>
|
---|
286 | <DT><B>Parameters:</B><DD><CODE>validargs</CODE> - A comma separated String defining valid input args.</DL>
|
---|
287 | </DD>
|
---|
288 | </DL>
|
---|
289 | <HR>
|
---|
290 |
|
---|
291 | <A NAME="setAddproperty(java.lang.String)"><!-- --></A><H3>
|
---|
292 | setAddproperty</H3>
|
---|
293 | <PRE>
|
---|
294 | public void <B>setAddproperty</B>(java.lang.String addproperty)</PRE>
|
---|
295 | <DL>
|
---|
296 | <DD>Defines the name of a property to be created from input. Behaviour is
|
---|
297 | according to property task which means that existing properties
|
---|
298 | cannot be overridden.
|
---|
299 | <P>
|
---|
300 | <DD><DL>
|
---|
301 | <DT><B>Parameters:</B><DD><CODE>addproperty</CODE> - Name for the property to be created from input</DL>
|
---|
302 | </DD>
|
---|
303 | </DL>
|
---|
304 | <HR>
|
---|
305 |
|
---|
306 | <A NAME="setMessage(java.lang.String)"><!-- --></A><H3>
|
---|
307 | setMessage</H3>
|
---|
308 | <PRE>
|
---|
309 | public void <B>setMessage</B>(java.lang.String message)</PRE>
|
---|
310 | <DL>
|
---|
311 | <DD>Sets the Message which gets displayed to the user during the build run.
|
---|
312 | <P>
|
---|
313 | <DD><DL>
|
---|
314 | <DT><B>Parameters:</B><DD><CODE>message</CODE> - The message to be displayed.</DL>
|
---|
315 | </DD>
|
---|
316 | </DL>
|
---|
317 | <HR>
|
---|
318 |
|
---|
319 | <A NAME="setDefaultvalue(java.lang.String)"><!-- --></A><H3>
|
---|
320 | setDefaultvalue</H3>
|
---|
321 | <PRE>
|
---|
322 | public void <B>setDefaultvalue</B>(java.lang.String defaultvalue)</PRE>
|
---|
323 | <DL>
|
---|
324 | <DD>Defines the default value of the property to be created from input.
|
---|
325 | Property value will be set to default if not input is received.
|
---|
326 | <P>
|
---|
327 | <DD><DL>
|
---|
328 | <DT><B>Parameters:</B><DD><CODE>defaultvalue</CODE> - Default value for the property if no input
|
---|
329 | is received</DL>
|
---|
330 | </DD>
|
---|
331 | </DL>
|
---|
332 | <HR>
|
---|
333 |
|
---|
334 | <A NAME="addText(java.lang.String)"><!-- --></A><H3>
|
---|
335 | addText</H3>
|
---|
336 | <PRE>
|
---|
337 | public void <B>addText</B>(java.lang.String msg)</PRE>
|
---|
338 | <DL>
|
---|
339 | <DD>Set a multiline message.
|
---|
340 | <P>
|
---|
341 | <DD><DL>
|
---|
342 | <DT><B>Parameters:</B><DD><CODE>msg</CODE> - The message to be displayed.</DL>
|
---|
343 | </DD>
|
---|
344 | </DL>
|
---|
345 | <HR>
|
---|
346 |
|
---|
347 | <A NAME="execute()"><!-- --></A><H3>
|
---|
348 | execute</H3>
|
---|
349 | <PRE>
|
---|
350 | public void <B>execute</B>()
|
---|
351 | throws <A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
|
---|
352 | <DL>
|
---|
353 | <DD>Actual method executed by ant.
|
---|
354 | <P>
|
---|
355 | <DD><DL>
|
---|
356 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/tools/ant/Task.html#execute()">execute</A></CODE> in class <CODE><A HREF="../../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A></CODE></DL>
|
---|
357 | </DD>
|
---|
358 | <DD><DL>
|
---|
359 |
|
---|
360 | <DT><B>Throws:</B>
|
---|
361 | <DD><CODE><A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE> - on error</DL>
|
---|
362 | </DD>
|
---|
363 | </DL>
|
---|
364 | <!-- ========= END OF CLASS DATA ========= -->
|
---|
365 | <HR>
|
---|
366 |
|
---|
367 |
|
---|
368 | <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
---|
369 | <A NAME="navbar_bottom"><!-- --></A>
|
---|
370 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
---|
371 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
---|
372 | <TR>
|
---|
373 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
---|
374 | <A NAME="navbar_bottom_firstrow"><!-- --></A>
|
---|
375 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
---|
376 | <TR ALIGN="center" VALIGN="top">
|
---|
377 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
---|
378 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
---|
379 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
---|
380 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
---|
381 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
382 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
383 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
---|
384 | </TR>
|
---|
385 | </TABLE>
|
---|
386 | </TD>
|
---|
387 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
---|
388 | </EM>
|
---|
389 | </TD>
|
---|
390 | </TR>
|
---|
391 |
|
---|
392 | <TR>
|
---|
393 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
394 | <A HREF="../../../../../org/apache/tools/ant/taskdefs/ImportTask.html" title="class in org.apache.tools.ant.taskdefs"><B>PREV CLASS</B></A>
|
---|
395 | <A HREF="../../../../../org/apache/tools/ant/taskdefs/Jar.html" title="class in org.apache.tools.ant.taskdefs"><B>NEXT CLASS</B></A></FONT></TD>
|
---|
396 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
397 | <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A>
|
---|
398 | <A HREF="Input.html" target="_top"><B>NO FRAMES</B></A>
|
---|
399 | <SCRIPT type="text/javascript">
|
---|
400 | <!--
|
---|
401 | if(window==top) {
|
---|
402 | document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
---|
403 | }
|
---|
404 | //-->
|
---|
405 | </SCRIPT>
|
---|
406 | <NOSCRIPT>
|
---|
407 | <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
---|
408 | </NOSCRIPT>
|
---|
409 |
|
---|
410 | </FONT></TD>
|
---|
411 | </TR>
|
---|
412 | <TR>
|
---|
413 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
414 | SUMMARY: NESTED | <A HREF="#fields_inherited_from_class_org.apache.tools.ant.Task">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
---|
415 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
416 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
---|
417 | </TR>
|
---|
418 | </TABLE>
|
---|
419 | <A NAME="skip-navbar_bottom"></A>
|
---|
420 | <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
---|
421 |
|
---|
422 | <HR>
|
---|
423 | Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.
|
---|
424 | </BODY>
|
---|
425 | </HTML>
|
---|