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:15 NZST 2007 -->
|
---|
6 | <TITLE>
|
---|
7 | Task (Apache Ant API)
|
---|
8 | </TITLE>
|
---|
9 |
|
---|
10 | <META NAME="keywords" CONTENT="org.apache.tools.ant.Task 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="Task (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/Target.html" title="class in org.apache.tools.ant"><B>PREV CLASS</B></A>
|
---|
53 | <A HREF="../../../../org/apache/tools/ant/TaskAdapter.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="Task.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="#field_summary">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: <A HREF="#field_detail">FIELD</A> | <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 Task</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"><B>org.apache.tools.ant.Task</B>
|
---|
91 | </PRE>
|
---|
92 | <DL>
|
---|
93 | <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../org/apache/tools/ant/taskdefs/AbstractCvsTask.html" title="class in org.apache.tools.ant.taskdefs">AbstractCvsTask</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/optional/metamata/AbstractMetamataTask.html" title="class in org.apache.tools.ant.taskdefs.optional.metamata">AbstractMetamataTask</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/Ant.html" title="class in org.apache.tools.ant.taskdefs">Ant</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/Antlib.html" title="class in org.apache.tools.ant.taskdefs">Antlib</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/AntlibDefinition.html" title="class in org.apache.tools.ant.taskdefs">AntlibDefinition</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/optional/ANTLR.html" title="class in org.apache.tools.ant.taskdefs.optional">ANTLR</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/optional/scm/AntStarTeamCheckOut.html" title="class in org.apache.tools.ant.taskdefs.optional.scm">AntStarTeamCheckOut</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/AntStructure.html" title="class in org.apache.tools.ant.taskdefs">AntStructure</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/Basename.html" title="class in org.apache.tools.ant.taskdefs">Basename</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/optional/ejb/BorlandGenerateClient.html" title="class in org.apache.tools.ant.taskdefs.optional.ejb">BorlandGenerateClient</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/BuildNumber.html" title="class in org.apache.tools.ant.taskdefs">BuildNumber</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/CallTarget.html" title="class in org.apache.tools.ant.taskdefs">CallTarget</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/optional/clearcase/ClearCase.html" title="class in org.apache.tools.ant.taskdefs.optional.clearcase">ClearCase</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/Concat.html" title="class in org.apache.tools.ant.taskdefs">Concat</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/optional/ccm/Continuus.html" title="class in org.apache.tools.ant.taskdefs.optional.ccm">Continuus</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/Copy.html" title="class in org.apache.tools.ant.taskdefs">Copy</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/Copyfile.html" title="class in org.apache.tools.ant.taskdefs">Copyfile</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/optional/sitraka/CovBase.html" title="class in org.apache.tools.ant.taskdefs.optional.sitraka">CovBase</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/CVSPass.html" title="class in org.apache.tools.ant.taskdefs">CVSPass</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/DefaultExcludes.html" title="class in org.apache.tools.ant.taskdefs">DefaultExcludes</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/Deltree.html" title="class in org.apache.tools.ant.taskdefs">Deltree</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/Dirname.html" title="class in org.apache.tools.ant.taskdefs">Dirname</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/Echo.html" title="class in org.apache.tools.ant.taskdefs">Echo</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/optional/EchoProperties.html" title="class in org.apache.tools.ant.taskdefs.optional">EchoProperties</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/email/EmailTask.html" title="class in org.apache.tools.ant.taskdefs.email">EmailTask</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/Exec.html" title="class in org.apache.tools.ant.taskdefs">Exec</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/ExecTask.html" title="class in org.apache.tools.ant.taskdefs">ExecTask</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/Exit.html" title="class in org.apache.tools.ant.taskdefs">Exit</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/Expand.html" title="class in org.apache.tools.ant.taskdefs">Expand</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/Filter.html" title="class in org.apache.tools.ant.taskdefs">Filter</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/optional/net/FTP.html" title="class in org.apache.tools.ant.taskdefs.optional.net">FTP</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/GenerateKey.html" title="class in org.apache.tools.ant.taskdefs">GenerateKey</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/Get.html" title="class in org.apache.tools.ant.taskdefs">Get</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/optional/dotnet/Ildasm.html" title="class in org.apache.tools.ant.taskdefs.optional.dotnet">Ildasm</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/ImportTask.html" title="class in org.apache.tools.ant.taskdefs">ImportTask</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/optional/dotnet/ImportTypelib.html" title="class in org.apache.tools.ant.taskdefs.optional.dotnet">ImportTypelib</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/Input.html" title="class in org.apache.tools.ant.taskdefs">Input</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/optional/ejb/IPlanetEjbcTask.html" title="class in org.apache.tools.ant.taskdefs.optional.ejb">IPlanetEjbcTask</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/optional/extension/JarLibAvailableTask.html" title="class in org.apache.tools.ant.taskdefs.optional.extension">JarLibAvailableTask</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/optional/extension/JarLibDisplayTask.html" title="class in org.apache.tools.ant.taskdefs.optional.extension">JarLibDisplayTask</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/optional/extension/JarLibManifestTask.html" title="class in org.apache.tools.ant.taskdefs.optional.extension">JarLibManifestTask</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/optional/extension/JarLibResolveTask.html" title="class in org.apache.tools.ant.taskdefs.optional.extension">JarLibResolveTask</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/Java.html" title="class in org.apache.tools.ant.taskdefs">Java</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/optional/javacc/JavaCC.html" title="class in org.apache.tools.ant.taskdefs.optional.javacc">JavaCC</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/Javadoc.html" title="class in org.apache.tools.ant.taskdefs">Javadoc</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/optional/Javah.html" title="class in org.apache.tools.ant.taskdefs.optional">Javah</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/JDBCTask.html" title="class in org.apache.tools.ant.taskdefs">JDBCTask</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/optional/jdepend/JDependTask.html" title="class in org.apache.tools.ant.taskdefs.optional.jdepend">JDependTask</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/optional/javacc/JJDoc.html" title="class in org.apache.tools.ant.taskdefs.optional.javacc">JJDoc</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/optional/javacc/JJTree.html" title="class in org.apache.tools.ant.taskdefs.optional.javacc">JJTree</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.html" title="class in org.apache.tools.ant.taskdefs.optional.junit">JUnitTask</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/KeySubst.html" title="class in org.apache.tools.ant.taskdefs">KeySubst</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/LoadFile.html" title="class in org.apache.tools.ant.taskdefs">LoadFile</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/LoadProperties.html" title="class in org.apache.tools.ant.taskdefs">LoadProperties</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/MacroInstance.html" title="class in org.apache.tools.ant.taskdefs">MacroInstance</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/ManifestTask.html" title="class in org.apache.tools.ant.taskdefs">ManifestTask</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/MatchingTask.html" title="class in org.apache.tools.ant.taskdefs">MatchingTask</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/Mkdir.html" title="class in org.apache.tools.ant.taskdefs">Mkdir</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/optional/vss/MSVSS.html" title="class in org.apache.tools.ant.taskdefs.optional.vss">MSVSS</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/Nice.html" title="class in org.apache.tools.ant.taskdefs">Nice</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/optional/perforce/P4Base.html" title="class in org.apache.tools.ant.taskdefs.optional.perforce">P4Base</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/Pack.html" title="class in org.apache.tools.ant.taskdefs">Pack</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/Parallel.html" title="class in org.apache.tools.ant.taskdefs">Parallel</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/Patch.html" title="class in org.apache.tools.ant.taskdefs">Patch</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/PathConvert.html" title="class in org.apache.tools.ant.taskdefs">PathConvert</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/Property.html" title="class in org.apache.tools.ant.taskdefs">Property</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/optional/PropertyFile.html" title="class in org.apache.tools.ant.taskdefs.optional">PropertyFile</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/optional/pvcs/Pvcs.html" title="class in org.apache.tools.ant.taskdefs.optional.pvcs">Pvcs</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/Recorder.html" title="class in org.apache.tools.ant.taskdefs">Recorder</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/Rename.html" title="class in org.apache.tools.ant.taskdefs">Rename</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/optional/ReplaceRegExp.html" title="class in org.apache.tools.ant.taskdefs.optional">ReplaceRegExp</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/optional/net/RExecTask.html" title="class in org.apache.tools.ant.taskdefs.optional.net">RExecTask</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/optional/Rpm.html" title="class in org.apache.tools.ant.taskdefs.optional">Rpm</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/optional/Script.html" title="class in org.apache.tools.ant.taskdefs.optional">Script</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/optional/script/ScriptDefBase.html" title="class in org.apache.tools.ant.taskdefs.optional.script">ScriptDefBase</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/Sequential.html" title="class in org.apache.tools.ant.taskdefs">Sequential</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/optional/j2ee/ServerDeploy.html" title="class in org.apache.tools.ant.taskdefs.optional.j2ee">ServerDeploy</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/optional/net/SetProxy.html" title="class in org.apache.tools.ant.taskdefs.optional.net">SetProxy</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/SignJar.html" title="class in org.apache.tools.ant.taskdefs">SignJar</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/Sleep.html" title="class in org.apache.tools.ant.taskdefs">Sleep</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/optional/sos/SOS.html" title="class in org.apache.tools.ant.taskdefs.optional.sos">SOS</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/optional/sound/SoundTask.html" title="class in org.apache.tools.ant.taskdefs.optional.sound">SoundTask</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/optional/splash/SplashTask.html" title="class in org.apache.tools.ant.taskdefs.optional.splash">SplashTask</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/optional/ssh/SSHBase.html" title="class in org.apache.tools.ant.taskdefs.optional.ssh">SSHBase</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/optional/starteam/StarTeamTask.html" title="class in org.apache.tools.ant.taskdefs.optional.starteam">StarTeamTask</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/SubAnt.html" title="class in org.apache.tools.ant.taskdefs">SubAnt</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/optional/unix/Symlink.html" title="class in org.apache.tools.ant.taskdefs.optional.unix">Symlink</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/Sync.html" title="class in org.apache.tools.ant.taskdefs">Sync</A>, <A HREF="../../../../org/apache/tools/ant/TaskAdapter.html" title="class in org.apache.tools.ant">TaskAdapter</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/optional/net/TelnetTask.html" title="class in org.apache.tools.ant.taskdefs.optional.net">TelnetTask</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/TempFile.html" title="class in org.apache.tools.ant.taskdefs">TempFile</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/Touch.html" title="class in org.apache.tools.ant.taskdefs">Touch</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/Tstamp.html" title="class in org.apache.tools.ant.taskdefs">Tstamp</A>, <A HREF="../../../../org/apache/tools/ant/UnknownElement.html" title="class in org.apache.tools.ant">UnknownElement</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/Unpack.html" title="class in org.apache.tools.ant.taskdefs">Unpack</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/UpToDate.html" title="class in org.apache.tools.ant.taskdefs">UpToDate</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/optional/ide/VAJTask.html" title="class in org.apache.tools.ant.taskdefs.optional.ide">VAJTask</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/WhichResource.html" title="class in org.apache.tools.ant.taskdefs">WhichResource</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/optional/ejb/WLRun.html" title="class in org.apache.tools.ant.taskdefs.optional.ejb">WLRun</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/optional/ejb/WLStop.html" title="class in org.apache.tools.ant.taskdefs.optional.ejb">WLStop</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/optional/dotnet/WsdlToDotnet.html" title="class in org.apache.tools.ant.taskdefs.optional.dotnet">WsdlToDotnet</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/XmlProperty.html" title="class in org.apache.tools.ant.taskdefs">XmlProperty</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/optional/junit/XMLResultAggregator.html" title="class in org.apache.tools.ant.taskdefs.optional.junit">XMLResultAggregator</A>, <A HREF="../../../../org/apache/tools/ant/taskdefs/optional/XMLValidateTask.html" title="class in org.apache.tools.ant.taskdefs.optional">XMLValidateTask</A></DD>
|
---|
94 | </DL>
|
---|
95 | <HR>
|
---|
96 | <DL>
|
---|
97 | <DT>public abstract class <B>Task</B><DT>extends <A HREF="../../../../org/apache/tools/ant/ProjectComponent.html" title="class in org.apache.tools.ant">ProjectComponent</A></DL>
|
---|
98 |
|
---|
99 | <P>
|
---|
100 | Base class for all tasks.
|
---|
101 |
|
---|
102 | Use Project.createTask to create a new task instance rather than
|
---|
103 | using this class directly for construction.
|
---|
104 | <P>
|
---|
105 |
|
---|
106 | <P>
|
---|
107 | <DL>
|
---|
108 | <DT><B>See Also:</B><DD><A HREF="../../../../org/apache/tools/ant/Project.html#createTask(java.lang.String)"><CODE>Project.createTask(java.lang.String)</CODE></A></DL>
|
---|
109 | <HR>
|
---|
110 |
|
---|
111 | <P>
|
---|
112 | <!-- ======== NESTED CLASS SUMMARY ======== -->
|
---|
113 |
|
---|
114 |
|
---|
115 | <!-- =========== FIELD SUMMARY =========== -->
|
---|
116 |
|
---|
117 | <A NAME="field_summary"><!-- --></A>
|
---|
118 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
119 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
120 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
121 | <B>Field Summary</B></FONT></TD>
|
---|
122 | </TR>
|
---|
123 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
124 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
125 | <CODE>protected java.lang.String</CODE></FONT></TD>
|
---|
126 | <TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Task.html#description">description</A></B></CODE>
|
---|
127 |
|
---|
128 | <BR>
|
---|
129 | <B>Deprecated.</B> <I>You should not be accessing this variable directly.</I></TD>
|
---|
130 | </TR>
|
---|
131 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
132 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
133 | <CODE>protected <A HREF="../../../../org/apache/tools/ant/Location.html" title="class in org.apache.tools.ant">Location</A></CODE></FONT></TD>
|
---|
134 | <TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Task.html#location">location</A></B></CODE>
|
---|
135 |
|
---|
136 | <BR>
|
---|
137 | <B>Deprecated.</B> <I>You should not be accessing this variable directly.
|
---|
138 | Please use the <A HREF="../../../../org/apache/tools/ant/Task.html#getLocation()"><CODE>getLocation()</CODE></A> method.</I></TD>
|
---|
139 | </TR>
|
---|
140 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
141 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
142 | <CODE>protected <A HREF="../../../../org/apache/tools/ant/Target.html" title="class in org.apache.tools.ant">Target</A></CODE></FONT></TD>
|
---|
143 | <TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Task.html#target">target</A></B></CODE>
|
---|
144 |
|
---|
145 | <BR>
|
---|
146 | <B>Deprecated.</B> <I>You should not be accessing this variable directly.
|
---|
147 | Please use the <A HREF="../../../../org/apache/tools/ant/Task.html#getOwningTarget()"><CODE>getOwningTarget()</CODE></A> method.</I></TD>
|
---|
148 | </TR>
|
---|
149 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
150 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
151 | <CODE>protected java.lang.String</CODE></FONT></TD>
|
---|
152 | <TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Task.html#taskName">taskName</A></B></CODE>
|
---|
153 |
|
---|
154 | <BR>
|
---|
155 | <B>Deprecated.</B> <I>You should not be accessing this variable directly.
|
---|
156 | Please use the <A HREF="../../../../org/apache/tools/ant/Task.html#getTaskName()"><CODE>getTaskName()</CODE></A> method.</I></TD>
|
---|
157 | </TR>
|
---|
158 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
159 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
160 | <CODE>protected java.lang.String</CODE></FONT></TD>
|
---|
161 | <TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Task.html#taskType">taskType</A></B></CODE>
|
---|
162 |
|
---|
163 | <BR>
|
---|
164 | <B>Deprecated.</B> <I>You should not be accessing this variable directly.
|
---|
165 | Please use the <A HREF="../../../../org/apache/tools/ant/Task.html#getTaskType()"><CODE>getTaskType()</CODE></A> method.</I></TD>
|
---|
166 | </TR>
|
---|
167 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
168 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
169 | <CODE>protected <A HREF="../../../../org/apache/tools/ant/RuntimeConfigurable.html" title="class in org.apache.tools.ant">RuntimeConfigurable</A></CODE></FONT></TD>
|
---|
170 | <TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Task.html#wrapper">wrapper</A></B></CODE>
|
---|
171 |
|
---|
172 | <BR>
|
---|
173 | <B>Deprecated.</B> <I>You should not be accessing this variable directly.
|
---|
174 | Please use the <A HREF="../../../../org/apache/tools/ant/Task.html#getWrapper()"><CODE>getWrapper()</CODE></A> method.</I></TD>
|
---|
175 | </TR>
|
---|
176 | </TABLE>
|
---|
177 | <A NAME="fields_inherited_from_class_org.apache.tools.ant.ProjectComponent"><!-- --></A>
|
---|
178 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
179 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
180 | <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>
|
---|
181 | </TR>
|
---|
182 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
183 | <TD><CODE><A HREF="../../../../org/apache/tools/ant/ProjectComponent.html#project">project</A></CODE></TD>
|
---|
184 | </TR>
|
---|
185 | </TABLE>
|
---|
186 |
|
---|
187 | <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
---|
188 |
|
---|
189 | <A NAME="constructor_summary"><!-- --></A>
|
---|
190 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
191 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
192 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
193 | <B>Constructor Summary</B></FONT></TD>
|
---|
194 | </TR>
|
---|
195 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
196 | <TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Task.html#Task()">Task</A></B>()</CODE>
|
---|
197 |
|
---|
198 | <BR>
|
---|
199 | Sole constructor.</TD>
|
---|
200 | </TR>
|
---|
201 | </TABLE>
|
---|
202 |
|
---|
203 | <!-- ========== METHOD SUMMARY =========== -->
|
---|
204 |
|
---|
205 | <A NAME="method_summary"><!-- --></A>
|
---|
206 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
207 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
208 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
209 | <B>Method Summary</B></FONT></TD>
|
---|
210 | </TR>
|
---|
211 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
212 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
213 | <CODE> void</CODE></FONT></TD>
|
---|
214 | <TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Task.html#execute()">execute</A></B>()</CODE>
|
---|
215 |
|
---|
216 | <BR>
|
---|
217 | Called by the project to let the task do its work.</TD>
|
---|
218 | </TR>
|
---|
219 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
220 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
221 | <CODE> java.lang.String</CODE></FONT></TD>
|
---|
222 | <TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Task.html#getDescription()">getDescription</A></B>()</CODE>
|
---|
223 |
|
---|
224 | <BR>
|
---|
225 | Returns the description of the current action.</TD>
|
---|
226 | </TR>
|
---|
227 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
228 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
229 | <CODE> <A HREF="../../../../org/apache/tools/ant/Location.html" title="class in org.apache.tools.ant">Location</A></CODE></FONT></TD>
|
---|
230 | <TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Task.html#getLocation()">getLocation</A></B>()</CODE>
|
---|
231 |
|
---|
232 | <BR>
|
---|
233 | Returns the file/location where this task was defined.</TD>
|
---|
234 | </TR>
|
---|
235 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
236 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
237 | <CODE> <A HREF="../../../../org/apache/tools/ant/Target.html" title="class in org.apache.tools.ant">Target</A></CODE></FONT></TD>
|
---|
238 | <TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Task.html#getOwningTarget()">getOwningTarget</A></B>()</CODE>
|
---|
239 |
|
---|
240 | <BR>
|
---|
241 | Returns the container target of this task.</TD>
|
---|
242 | </TR>
|
---|
243 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
244 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
245 | <CODE> <A HREF="../../../../org/apache/tools/ant/RuntimeConfigurable.html" title="class in org.apache.tools.ant">RuntimeConfigurable</A></CODE></FONT></TD>
|
---|
246 | <TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Task.html#getRuntimeConfigurableWrapper()">getRuntimeConfigurableWrapper</A></B>()</CODE>
|
---|
247 |
|
---|
248 | <BR>
|
---|
249 | Returns the wrapper used for runtime configuration.</TD>
|
---|
250 | </TR>
|
---|
251 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
252 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
253 | <CODE> java.lang.String</CODE></FONT></TD>
|
---|
254 | <TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Task.html#getTaskName()">getTaskName</A></B>()</CODE>
|
---|
255 |
|
---|
256 | <BR>
|
---|
257 | Returns the name to use in logging messages.</TD>
|
---|
258 | </TR>
|
---|
259 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
260 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
261 | <CODE> java.lang.String</CODE></FONT></TD>
|
---|
262 | <TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Task.html#getTaskType()">getTaskType</A></B>()</CODE>
|
---|
263 |
|
---|
264 | <BR>
|
---|
265 | Return the type of task</TD>
|
---|
266 | </TR>
|
---|
267 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
268 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
269 | <CODE>protected <A HREF="../../../../org/apache/tools/ant/RuntimeConfigurable.html" title="class in org.apache.tools.ant">RuntimeConfigurable</A></CODE></FONT></TD>
|
---|
270 | <TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Task.html#getWrapper()">getWrapper</A></B>()</CODE>
|
---|
271 |
|
---|
272 | <BR>
|
---|
273 | Return the runtime configurable structure for this task</TD>
|
---|
274 | </TR>
|
---|
275 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
276 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
277 | <CODE>protected void</CODE></FONT></TD>
|
---|
278 | <TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Task.html#handleErrorFlush(java.lang.String)">handleErrorFlush</A></B>(java.lang.String output)</CODE>
|
---|
279 |
|
---|
280 | <BR>
|
---|
281 | Handles an error line by logging it with the WARN priority.</TD>
|
---|
282 | </TR>
|
---|
283 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
284 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
285 | <CODE>protected void</CODE></FONT></TD>
|
---|
286 | <TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Task.html#handleErrorOutput(java.lang.String)">handleErrorOutput</A></B>(java.lang.String output)</CODE>
|
---|
287 |
|
---|
288 | <BR>
|
---|
289 | Handles an error output by logging it with the WARN priority.</TD>
|
---|
290 | </TR>
|
---|
291 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
292 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
293 | <CODE>protected void</CODE></FONT></TD>
|
---|
294 | <TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Task.html#handleFlush(java.lang.String)">handleFlush</A></B>(java.lang.String output)</CODE>
|
---|
295 |
|
---|
296 | <BR>
|
---|
297 | Handles output by logging it with the INFO priority.</TD>
|
---|
298 | </TR>
|
---|
299 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
300 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
301 | <CODE>protected int</CODE></FONT></TD>
|
---|
302 | <TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Task.html#handleInput(byte[], int, int)">handleInput</A></B>(byte[] buffer,
|
---|
303 | int offset,
|
---|
304 | int length)</CODE>
|
---|
305 |
|
---|
306 | <BR>
|
---|
307 | Handle an input request by this task</TD>
|
---|
308 | </TR>
|
---|
309 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
310 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
311 | <CODE>protected void</CODE></FONT></TD>
|
---|
312 | <TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Task.html#handleOutput(java.lang.String)">handleOutput</A></B>(java.lang.String output)</CODE>
|
---|
313 |
|
---|
314 | <BR>
|
---|
315 | Handles output by logging it with the INFO priority.</TD>
|
---|
316 | </TR>
|
---|
317 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
318 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
319 | <CODE> void</CODE></FONT></TD>
|
---|
320 | <TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Task.html#init()">init</A></B>()</CODE>
|
---|
321 |
|
---|
322 | <BR>
|
---|
323 | Called by the project to let the task initialize properly.</TD>
|
---|
324 | </TR>
|
---|
325 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
326 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
327 | <CODE>protected boolean</CODE></FONT></TD>
|
---|
328 | <TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Task.html#isInvalid()">isInvalid</A></B>()</CODE>
|
---|
329 |
|
---|
330 | <BR>
|
---|
331 | Has this task been marked invalid?</TD>
|
---|
332 | </TR>
|
---|
333 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
334 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
335 | <CODE> void</CODE></FONT></TD>
|
---|
336 | <TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Task.html#log(java.lang.String)">log</A></B>(java.lang.String msg)</CODE>
|
---|
337 |
|
---|
338 | <BR>
|
---|
339 | Logs a message with the default (INFO) priority.</TD>
|
---|
340 | </TR>
|
---|
341 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
342 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
343 | <CODE> void</CODE></FONT></TD>
|
---|
344 | <TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Task.html#log(java.lang.String, int)">log</A></B>(java.lang.String msg,
|
---|
345 | int msgLevel)</CODE>
|
---|
346 |
|
---|
347 | <BR>
|
---|
348 | Logs a message with the given priority.</TD>
|
---|
349 | </TR>
|
---|
350 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
351 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
352 | <CODE> void</CODE></FONT></TD>
|
---|
353 | <TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Task.html#maybeConfigure()">maybeConfigure</A></B>()</CODE>
|
---|
354 |
|
---|
355 | <BR>
|
---|
356 | Configures this task - if it hasn't been done already.</TD>
|
---|
357 | </TR>
|
---|
358 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
359 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
360 | <CODE> void</CODE></FONT></TD>
|
---|
361 | <TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Task.html#perform()">perform</A></B>()</CODE>
|
---|
362 |
|
---|
363 | <BR>
|
---|
364 | Performs this task if it's still valid, or gets a replacement
|
---|
365 | version and performs that otherwise.</TD>
|
---|
366 | </TR>
|
---|
367 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
368 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
369 | <CODE> void</CODE></FONT></TD>
|
---|
370 | <TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Task.html#reconfigure()">reconfigure</A></B>()</CODE>
|
---|
371 |
|
---|
372 | <BR>
|
---|
373 | Force the task to be reconfigured from it's RuntimeConfigurable</TD>
|
---|
374 | </TR>
|
---|
375 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
376 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
377 | <CODE> void</CODE></FONT></TD>
|
---|
378 | <TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Task.html#setDescription(java.lang.String)">setDescription</A></B>(java.lang.String desc)</CODE>
|
---|
379 |
|
---|
380 | <BR>
|
---|
381 | Sets a description of the current action.</TD>
|
---|
382 | </TR>
|
---|
383 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
384 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
385 | <CODE> void</CODE></FONT></TD>
|
---|
386 | <TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Task.html#setLocation(org.apache.tools.ant.Location)">setLocation</A></B>(<A HREF="../../../../org/apache/tools/ant/Location.html" title="class in org.apache.tools.ant">Location</A> location)</CODE>
|
---|
387 |
|
---|
388 | <BR>
|
---|
389 | Sets the file/location where this task was defined.</TD>
|
---|
390 | </TR>
|
---|
391 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
392 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
393 | <CODE> void</CODE></FONT></TD>
|
---|
394 | <TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Task.html#setOwningTarget(org.apache.tools.ant.Target)">setOwningTarget</A></B>(<A HREF="../../../../org/apache/tools/ant/Target.html" title="class in org.apache.tools.ant">Target</A> target)</CODE>
|
---|
395 |
|
---|
396 | <BR>
|
---|
397 | Sets the target container of this task.</TD>
|
---|
398 | </TR>
|
---|
399 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
400 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
401 | <CODE> void</CODE></FONT></TD>
|
---|
402 | <TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Task.html#setRuntimeConfigurableWrapper(org.apache.tools.ant.RuntimeConfigurable)">setRuntimeConfigurableWrapper</A></B>(<A HREF="../../../../org/apache/tools/ant/RuntimeConfigurable.html" title="class in org.apache.tools.ant">RuntimeConfigurable</A> wrapper)</CODE>
|
---|
403 |
|
---|
404 | <BR>
|
---|
405 | Sets the wrapper to be used for runtime configuration.</TD>
|
---|
406 | </TR>
|
---|
407 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
408 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
409 | <CODE> void</CODE></FONT></TD>
|
---|
410 | <TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Task.html#setTaskName(java.lang.String)">setTaskName</A></B>(java.lang.String name)</CODE>
|
---|
411 |
|
---|
412 | <BR>
|
---|
413 | Sets the name to use in logging messages.</TD>
|
---|
414 | </TR>
|
---|
415 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
416 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
417 | <CODE> void</CODE></FONT></TD>
|
---|
418 | <TD><CODE><B><A HREF="../../../../org/apache/tools/ant/Task.html#setTaskType(java.lang.String)">setTaskType</A></B>(java.lang.String type)</CODE>
|
---|
419 |
|
---|
420 | <BR>
|
---|
421 | Sets the name with which the task has been invoked.</TD>
|
---|
422 | </TR>
|
---|
423 | </TABLE>
|
---|
424 | <A NAME="methods_inherited_from_class_org.apache.tools.ant.ProjectComponent"><!-- --></A>
|
---|
425 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
426 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
427 | <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>
|
---|
428 | </TR>
|
---|
429 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
430 | <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>
|
---|
431 | </TR>
|
---|
432 | </TABLE>
|
---|
433 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
---|
434 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
435 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
436 | <TD><B>Methods inherited from class java.lang.Object</B></TD>
|
---|
437 | </TR>
|
---|
438 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
439 | <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
|
---|
440 | </TR>
|
---|
441 | </TABLE>
|
---|
442 |
|
---|
443 | <P>
|
---|
444 |
|
---|
445 | <!-- ============ FIELD DETAIL =========== -->
|
---|
446 |
|
---|
447 | <A NAME="field_detail"><!-- --></A>
|
---|
448 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
449 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
450 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
451 | <B>Field Detail</B></FONT></TD>
|
---|
452 | </TR>
|
---|
453 | </TABLE>
|
---|
454 |
|
---|
455 | <A NAME="target"><!-- --></A><H3>
|
---|
456 | target</H3>
|
---|
457 | <PRE>
|
---|
458 | protected <A HREF="../../../../org/apache/tools/ant/Target.html" title="class in org.apache.tools.ant">Target</A> <B>target</B></PRE>
|
---|
459 | <DL>
|
---|
460 | <DD><B>Deprecated.</B> <I>You should not be accessing this variable directly.
|
---|
461 | Please use the <A HREF="../../../../org/apache/tools/ant/Task.html#getOwningTarget()"><CODE>getOwningTarget()</CODE></A> method.</I>
|
---|
462 | <P>
|
---|
463 | <DD>Target this task belongs to, if any.
|
---|
464 | <P>
|
---|
465 | <DL>
|
---|
466 | </DL>
|
---|
467 | </DL>
|
---|
468 | <HR>
|
---|
469 |
|
---|
470 | <A NAME="description"><!-- --></A><H3>
|
---|
471 | description</H3>
|
---|
472 | <PRE>
|
---|
473 | protected java.lang.String <B>description</B></PRE>
|
---|
474 | <DL>
|
---|
475 | <DD><B>Deprecated.</B> <I>You should not be accessing this variable directly.</I>
|
---|
476 | <P>
|
---|
477 | <DD>Description of this task, if any.
|
---|
478 | <P>
|
---|
479 | <DL>
|
---|
480 | </DL>
|
---|
481 | </DL>
|
---|
482 | <HR>
|
---|
483 |
|
---|
484 | <A NAME="location"><!-- --></A><H3>
|
---|
485 | location</H3>
|
---|
486 | <PRE>
|
---|
487 | protected <A HREF="../../../../org/apache/tools/ant/Location.html" title="class in org.apache.tools.ant">Location</A> <B>location</B></PRE>
|
---|
488 | <DL>
|
---|
489 | <DD><B>Deprecated.</B> <I>You should not be accessing this variable directly.
|
---|
490 | Please use the <A HREF="../../../../org/apache/tools/ant/Task.html#getLocation()"><CODE>getLocation()</CODE></A> method.</I>
|
---|
491 | <P>
|
---|
492 | <DD>Location within the build file of this task definition.
|
---|
493 | <P>
|
---|
494 | <DL>
|
---|
495 | </DL>
|
---|
496 | </DL>
|
---|
497 | <HR>
|
---|
498 |
|
---|
499 | <A NAME="taskName"><!-- --></A><H3>
|
---|
500 | taskName</H3>
|
---|
501 | <PRE>
|
---|
502 | protected java.lang.String <B>taskName</B></PRE>
|
---|
503 | <DL>
|
---|
504 | <DD><B>Deprecated.</B> <I>You should not be accessing this variable directly.
|
---|
505 | Please use the <A HREF="../../../../org/apache/tools/ant/Task.html#getTaskName()"><CODE>getTaskName()</CODE></A> method.</I>
|
---|
506 | <P>
|
---|
507 | <DD>Name of this task to be used for logging purposes.
|
---|
508 | This defaults to the same as the type, but may be
|
---|
509 | overridden by the user. For instance, the name "java"
|
---|
510 | isn't terribly descriptive for a task used within
|
---|
511 | another task - the outer task code can probably
|
---|
512 | provide a better one.
|
---|
513 | <P>
|
---|
514 | <DL>
|
---|
515 | </DL>
|
---|
516 | </DL>
|
---|
517 | <HR>
|
---|
518 |
|
---|
519 | <A NAME="taskType"><!-- --></A><H3>
|
---|
520 | taskType</H3>
|
---|
521 | <PRE>
|
---|
522 | protected java.lang.String <B>taskType</B></PRE>
|
---|
523 | <DL>
|
---|
524 | <DD><B>Deprecated.</B> <I>You should not be accessing this variable directly.
|
---|
525 | Please use the <A HREF="../../../../org/apache/tools/ant/Task.html#getTaskType()"><CODE>getTaskType()</CODE></A> method.</I>
|
---|
526 | <P>
|
---|
527 | <DD>Type of this task.
|
---|
528 | <P>
|
---|
529 | <DL>
|
---|
530 | </DL>
|
---|
531 | </DL>
|
---|
532 | <HR>
|
---|
533 |
|
---|
534 | <A NAME="wrapper"><!-- --></A><H3>
|
---|
535 | wrapper</H3>
|
---|
536 | <PRE>
|
---|
537 | protected <A HREF="../../../../org/apache/tools/ant/RuntimeConfigurable.html" title="class in org.apache.tools.ant">RuntimeConfigurable</A> <B>wrapper</B></PRE>
|
---|
538 | <DL>
|
---|
539 | <DD><B>Deprecated.</B> <I>You should not be accessing this variable directly.
|
---|
540 | Please use the <A HREF="../../../../org/apache/tools/ant/Task.html#getWrapper()"><CODE>getWrapper()</CODE></A> method.</I>
|
---|
541 | <P>
|
---|
542 | <DD>Wrapper for this object, used to configure it at runtime.
|
---|
543 | <P>
|
---|
544 | <DL>
|
---|
545 | </DL>
|
---|
546 | </DL>
|
---|
547 |
|
---|
548 | <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
---|
549 |
|
---|
550 | <A NAME="constructor_detail"><!-- --></A>
|
---|
551 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
552 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
553 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
554 | <B>Constructor Detail</B></FONT></TD>
|
---|
555 | </TR>
|
---|
556 | </TABLE>
|
---|
557 |
|
---|
558 | <A NAME="Task()"><!-- --></A><H3>
|
---|
559 | Task</H3>
|
---|
560 | <PRE>
|
---|
561 | public <B>Task</B>()</PRE>
|
---|
562 | <DL>
|
---|
563 | <DD>Sole constructor.
|
---|
564 | <P>
|
---|
565 | </DL>
|
---|
566 |
|
---|
567 | <!-- ============ METHOD DETAIL ========== -->
|
---|
568 |
|
---|
569 | <A NAME="method_detail"><!-- --></A>
|
---|
570 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
571 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
572 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
573 | <B>Method Detail</B></FONT></TD>
|
---|
574 | </TR>
|
---|
575 | </TABLE>
|
---|
576 |
|
---|
577 | <A NAME="setOwningTarget(org.apache.tools.ant.Target)"><!-- --></A><H3>
|
---|
578 | setOwningTarget</H3>
|
---|
579 | <PRE>
|
---|
580 | public void <B>setOwningTarget</B>(<A HREF="../../../../org/apache/tools/ant/Target.html" title="class in org.apache.tools.ant">Target</A> target)</PRE>
|
---|
581 | <DL>
|
---|
582 | <DD>Sets the target container of this task.
|
---|
583 | <P>
|
---|
584 | <DD><DL>
|
---|
585 | <DT><B>Parameters:</B><DD><CODE>target</CODE> - Target in whose scope this task belongs.
|
---|
586 | May be <code>null</code>, indicating a top-level task.</DL>
|
---|
587 | </DD>
|
---|
588 | </DL>
|
---|
589 | <HR>
|
---|
590 |
|
---|
591 | <A NAME="getOwningTarget()"><!-- --></A><H3>
|
---|
592 | getOwningTarget</H3>
|
---|
593 | <PRE>
|
---|
594 | public <A HREF="../../../../org/apache/tools/ant/Target.html" title="class in org.apache.tools.ant">Target</A> <B>getOwningTarget</B>()</PRE>
|
---|
595 | <DL>
|
---|
596 | <DD>Returns the container target of this task.
|
---|
597 | <P>
|
---|
598 | <DD><DL>
|
---|
599 |
|
---|
600 | <DT><B>Returns:</B><DD>The target containing this task, or <code>null</code> if
|
---|
601 | this task is a top-level task.</DL>
|
---|
602 | </DD>
|
---|
603 | </DL>
|
---|
604 | <HR>
|
---|
605 |
|
---|
606 | <A NAME="setTaskName(java.lang.String)"><!-- --></A><H3>
|
---|
607 | setTaskName</H3>
|
---|
608 | <PRE>
|
---|
609 | public void <B>setTaskName</B>(java.lang.String name)</PRE>
|
---|
610 | <DL>
|
---|
611 | <DD>Sets the name to use in logging messages.
|
---|
612 | <P>
|
---|
613 | <DD><DL>
|
---|
614 | <DT><B>Parameters:</B><DD><CODE>name</CODE> - The name to use in logging messages.
|
---|
615 | Should not be <code>null</code>.</DL>
|
---|
616 | </DD>
|
---|
617 | </DL>
|
---|
618 | <HR>
|
---|
619 |
|
---|
620 | <A NAME="getTaskName()"><!-- --></A><H3>
|
---|
621 | getTaskName</H3>
|
---|
622 | <PRE>
|
---|
623 | public java.lang.String <B>getTaskName</B>()</PRE>
|
---|
624 | <DL>
|
---|
625 | <DD>Returns the name to use in logging messages.
|
---|
626 | <P>
|
---|
627 | <DD><DL>
|
---|
628 |
|
---|
629 | <DT><B>Returns:</B><DD>the name to use in logging messages.</DL>
|
---|
630 | </DD>
|
---|
631 | </DL>
|
---|
632 | <HR>
|
---|
633 |
|
---|
634 | <A NAME="setTaskType(java.lang.String)"><!-- --></A><H3>
|
---|
635 | setTaskType</H3>
|
---|
636 | <PRE>
|
---|
637 | public void <B>setTaskType</B>(java.lang.String type)</PRE>
|
---|
638 | <DL>
|
---|
639 | <DD>Sets the name with which the task has been invoked.
|
---|
640 | <P>
|
---|
641 | <DD><DL>
|
---|
642 | <DT><B>Parameters:</B><DD><CODE>type</CODE> - The name the task has been invoked as.
|
---|
643 | Should not be <code>null</code>.</DL>
|
---|
644 | </DD>
|
---|
645 | </DL>
|
---|
646 | <HR>
|
---|
647 |
|
---|
648 | <A NAME="setDescription(java.lang.String)"><!-- --></A><H3>
|
---|
649 | setDescription</H3>
|
---|
650 | <PRE>
|
---|
651 | public void <B>setDescription</B>(java.lang.String desc)</PRE>
|
---|
652 | <DL>
|
---|
653 | <DD>Sets a description of the current action. This may be used for logging
|
---|
654 | purposes.
|
---|
655 | <P>
|
---|
656 | <DD><DL>
|
---|
657 | <DT><B>Parameters:</B><DD><CODE>desc</CODE> - Description of the current action.
|
---|
658 | May be <code>null</code>, indicating that no description is
|
---|
659 | available.</DL>
|
---|
660 | </DD>
|
---|
661 | </DL>
|
---|
662 | <HR>
|
---|
663 |
|
---|
664 | <A NAME="getDescription()"><!-- --></A><H3>
|
---|
665 | getDescription</H3>
|
---|
666 | <PRE>
|
---|
667 | public java.lang.String <B>getDescription</B>()</PRE>
|
---|
668 | <DL>
|
---|
669 | <DD>Returns the description of the current action.
|
---|
670 | <P>
|
---|
671 | <DD><DL>
|
---|
672 |
|
---|
673 | <DT><B>Returns:</B><DD>the description of the current action, or <code>null</code> if
|
---|
674 | no description is available.</DL>
|
---|
675 | </DD>
|
---|
676 | </DL>
|
---|
677 | <HR>
|
---|
678 |
|
---|
679 | <A NAME="init()"><!-- --></A><H3>
|
---|
680 | init</H3>
|
---|
681 | <PRE>
|
---|
682 | public void <B>init</B>()
|
---|
683 | throws <A HREF="../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
|
---|
684 | <DL>
|
---|
685 | <DD>Called by the project to let the task initialize properly.
|
---|
686 | The default implementation is a no-op.
|
---|
687 | <P>
|
---|
688 | <DD><DL>
|
---|
689 |
|
---|
690 | <DT><B>Throws:</B>
|
---|
691 | <DD><CODE><A HREF="../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE> - if something goes wrong with the build</DL>
|
---|
692 | </DD>
|
---|
693 | </DL>
|
---|
694 | <HR>
|
---|
695 |
|
---|
696 | <A NAME="execute()"><!-- --></A><H3>
|
---|
697 | execute</H3>
|
---|
698 | <PRE>
|
---|
699 | public void <B>execute</B>()
|
---|
700 | throws <A HREF="../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
|
---|
701 | <DL>
|
---|
702 | <DD>Called by the project to let the task do its work. This method may be
|
---|
703 | called more than once, if the task is invoked more than once.
|
---|
704 | For example,
|
---|
705 | if target1 and target2 both depend on target3, then running
|
---|
706 | "ant target1 target2" will run all tasks in target3 twice.
|
---|
707 | <P>
|
---|
708 | <DD><DL>
|
---|
709 |
|
---|
710 | <DT><B>Throws:</B>
|
---|
711 | <DD><CODE><A HREF="../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE> - if something goes wrong with the build</DL>
|
---|
712 | </DD>
|
---|
713 | </DL>
|
---|
714 | <HR>
|
---|
715 |
|
---|
716 | <A NAME="getLocation()"><!-- --></A><H3>
|
---|
717 | getLocation</H3>
|
---|
718 | <PRE>
|
---|
719 | public <A HREF="../../../../org/apache/tools/ant/Location.html" title="class in org.apache.tools.ant">Location</A> <B>getLocation</B>()</PRE>
|
---|
720 | <DL>
|
---|
721 | <DD>Returns the file/location where this task was defined.
|
---|
722 | <P>
|
---|
723 | <DD><DL>
|
---|
724 |
|
---|
725 | <DT><B>Returns:</B><DD>the file/location where this task was defined.
|
---|
726 | Should not return <code>null</code>. Location.UNKNOWN_LOCATION
|
---|
727 | is used for unknown locations.<DT><B>See Also:</B><DD><A HREF="../../../../org/apache/tools/ant/Location.html#UNKNOWN_LOCATION"><CODE>Location.UNKNOWN_LOCATION</CODE></A></DL>
|
---|
728 | </DD>
|
---|
729 | </DL>
|
---|
730 | <HR>
|
---|
731 |
|
---|
732 | <A NAME="setLocation(org.apache.tools.ant.Location)"><!-- --></A><H3>
|
---|
733 | setLocation</H3>
|
---|
734 | <PRE>
|
---|
735 | public void <B>setLocation</B>(<A HREF="../../../../org/apache/tools/ant/Location.html" title="class in org.apache.tools.ant">Location</A> location)</PRE>
|
---|
736 | <DL>
|
---|
737 | <DD>Sets the file/location where this task was defined.
|
---|
738 | <P>
|
---|
739 | <DD><DL>
|
---|
740 | <DT><B>Parameters:</B><DD><CODE>location</CODE> - The file/location where this task was defined.
|
---|
741 | Should not be <code>null</code> - use
|
---|
742 | Location.UNKNOWN_LOCATION if the location isn't known.<DT><B>See Also:</B><DD><A HREF="../../../../org/apache/tools/ant/Location.html#UNKNOWN_LOCATION"><CODE>Location.UNKNOWN_LOCATION</CODE></A></DL>
|
---|
743 | </DD>
|
---|
744 | </DL>
|
---|
745 | <HR>
|
---|
746 |
|
---|
747 | <A NAME="getRuntimeConfigurableWrapper()"><!-- --></A><H3>
|
---|
748 | getRuntimeConfigurableWrapper</H3>
|
---|
749 | <PRE>
|
---|
750 | public <A HREF="../../../../org/apache/tools/ant/RuntimeConfigurable.html" title="class in org.apache.tools.ant">RuntimeConfigurable</A> <B>getRuntimeConfigurableWrapper</B>()</PRE>
|
---|
751 | <DL>
|
---|
752 | <DD>Returns the wrapper used for runtime configuration.
|
---|
753 | <P>
|
---|
754 | <DD><DL>
|
---|
755 |
|
---|
756 | <DT><B>Returns:</B><DD>the wrapper used for runtime configuration. This
|
---|
757 | method will generate a new wrapper (and cache it)
|
---|
758 | if one isn't set already.</DL>
|
---|
759 | </DD>
|
---|
760 | </DL>
|
---|
761 | <HR>
|
---|
762 |
|
---|
763 | <A NAME="setRuntimeConfigurableWrapper(org.apache.tools.ant.RuntimeConfigurable)"><!-- --></A><H3>
|
---|
764 | setRuntimeConfigurableWrapper</H3>
|
---|
765 | <PRE>
|
---|
766 | public void <B>setRuntimeConfigurableWrapper</B>(<A HREF="../../../../org/apache/tools/ant/RuntimeConfigurable.html" title="class in org.apache.tools.ant">RuntimeConfigurable</A> wrapper)</PRE>
|
---|
767 | <DL>
|
---|
768 | <DD>Sets the wrapper to be used for runtime configuration.
|
---|
769 |
|
---|
770 | This method should be used only by the ProjectHelper and ant internals.
|
---|
771 | It is public to allow helper plugins to operate on tasks, normal tasks
|
---|
772 | should never use it.
|
---|
773 | <P>
|
---|
774 | <DD><DL>
|
---|
775 | <DT><B>Parameters:</B><DD><CODE>wrapper</CODE> - The wrapper to be used for runtime configuration.
|
---|
776 | May be <code>null</code>, in which case the next call
|
---|
777 | to getRuntimeConfigurableWrapper will generate a new
|
---|
778 | wrapper.</DL>
|
---|
779 | </DD>
|
---|
780 | </DL>
|
---|
781 | <HR>
|
---|
782 |
|
---|
783 | <A NAME="maybeConfigure()"><!-- --></A><H3>
|
---|
784 | maybeConfigure</H3>
|
---|
785 | <PRE>
|
---|
786 | public void <B>maybeConfigure</B>()
|
---|
787 | throws <A HREF="../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
|
---|
788 | <DL>
|
---|
789 | <DD>Configures this task - if it hasn't been done already.
|
---|
790 | If the task has been invalidated, it is replaced with an
|
---|
791 | UnknownElement task which uses the new definition in the project.
|
---|
792 | <P>
|
---|
793 | <DD><DL>
|
---|
794 |
|
---|
795 | <DT><B>Throws:</B>
|
---|
796 | <DD><CODE><A HREF="../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE> - if the task cannot be configured.</DL>
|
---|
797 | </DD>
|
---|
798 | </DL>
|
---|
799 | <HR>
|
---|
800 |
|
---|
801 | <A NAME="reconfigure()"><!-- --></A><H3>
|
---|
802 | reconfigure</H3>
|
---|
803 | <PRE>
|
---|
804 | public void <B>reconfigure</B>()</PRE>
|
---|
805 | <DL>
|
---|
806 | <DD>Force the task to be reconfigured from it's RuntimeConfigurable
|
---|
807 | <P>
|
---|
808 | <DD><DL>
|
---|
809 | </DL>
|
---|
810 | </DD>
|
---|
811 | </DL>
|
---|
812 | <HR>
|
---|
813 |
|
---|
814 | <A NAME="handleOutput(java.lang.String)"><!-- --></A><H3>
|
---|
815 | handleOutput</H3>
|
---|
816 | <PRE>
|
---|
817 | protected void <B>handleOutput</B>(java.lang.String output)</PRE>
|
---|
818 | <DL>
|
---|
819 | <DD>Handles output by logging it with the INFO priority.
|
---|
820 | <P>
|
---|
821 | <DD><DL>
|
---|
822 | <DT><B>Parameters:</B><DD><CODE>output</CODE> - The output to log. Should not be <code>null</code>.</DL>
|
---|
823 | </DD>
|
---|
824 | </DL>
|
---|
825 | <HR>
|
---|
826 |
|
---|
827 | <A NAME="handleFlush(java.lang.String)"><!-- --></A><H3>
|
---|
828 | handleFlush</H3>
|
---|
829 | <PRE>
|
---|
830 | protected void <B>handleFlush</B>(java.lang.String output)</PRE>
|
---|
831 | <DL>
|
---|
832 | <DD>Handles output by logging it with the INFO priority.
|
---|
833 | <P>
|
---|
834 | <DD><DL>
|
---|
835 | <DT><B>Parameters:</B><DD><CODE>output</CODE> - The output to log. Should not be <code>null</code>.<DT><B>Since:</B></DT>
|
---|
836 | <DD>Ant 1.5.2</DD>
|
---|
837 | </DL>
|
---|
838 | </DD>
|
---|
839 | </DL>
|
---|
840 | <HR>
|
---|
841 |
|
---|
842 | <A NAME="handleInput(byte[], int, int)"><!-- --></A><H3>
|
---|
843 | handleInput</H3>
|
---|
844 | <PRE>
|
---|
845 | protected int <B>handleInput</B>(byte[] buffer,
|
---|
846 | int offset,
|
---|
847 | int length)
|
---|
848 | throws java.io.IOException</PRE>
|
---|
849 | <DL>
|
---|
850 | <DD>Handle an input request by this task
|
---|
851 | <P>
|
---|
852 | <DD><DL>
|
---|
853 | <DT><B>Parameters:</B><DD><CODE>buffer</CODE> - the buffer into which data is to be read.<DD><CODE>offset</CODE> - the offset into the buffer at which data is stored.<DD><CODE>length</CODE> - the amount of data to read
|
---|
854 | <DT><B>Returns:</B><DD>the number of bytes read
|
---|
855 | <DT><B>Throws:</B>
|
---|
856 | <DD><CODE>java.io.IOException</CODE> - if the data cannot be read<DT><B>Since:</B></DT>
|
---|
857 | <DD>Ant 1.6</DD>
|
---|
858 | </DL>
|
---|
859 | </DD>
|
---|
860 | </DL>
|
---|
861 | <HR>
|
---|
862 |
|
---|
863 | <A NAME="handleErrorOutput(java.lang.String)"><!-- --></A><H3>
|
---|
864 | handleErrorOutput</H3>
|
---|
865 | <PRE>
|
---|
866 | protected void <B>handleErrorOutput</B>(java.lang.String output)</PRE>
|
---|
867 | <DL>
|
---|
868 | <DD>Handles an error output by logging it with the WARN priority.
|
---|
869 | <P>
|
---|
870 | <DD><DL>
|
---|
871 | <DT><B>Parameters:</B><DD><CODE>output</CODE> - The error output to log. Should not be <code>null</code>.</DL>
|
---|
872 | </DD>
|
---|
873 | </DL>
|
---|
874 | <HR>
|
---|
875 |
|
---|
876 | <A NAME="handleErrorFlush(java.lang.String)"><!-- --></A><H3>
|
---|
877 | handleErrorFlush</H3>
|
---|
878 | <PRE>
|
---|
879 | protected void <B>handleErrorFlush</B>(java.lang.String output)</PRE>
|
---|
880 | <DL>
|
---|
881 | <DD>Handles an error line by logging it with the WARN priority.
|
---|
882 | <P>
|
---|
883 | <DD><DL>
|
---|
884 | <DT><B>Parameters:</B><DD><CODE>output</CODE> - The error output to log. Should not be <code>null</code>.<DT><B>Since:</B></DT>
|
---|
885 | <DD>Ant 1.5.2</DD>
|
---|
886 | </DL>
|
---|
887 | </DD>
|
---|
888 | </DL>
|
---|
889 | <HR>
|
---|
890 |
|
---|
891 | <A NAME="log(java.lang.String)"><!-- --></A><H3>
|
---|
892 | log</H3>
|
---|
893 | <PRE>
|
---|
894 | public void <B>log</B>(java.lang.String msg)</PRE>
|
---|
895 | <DL>
|
---|
896 | <DD>Logs a message with the default (INFO) priority.
|
---|
897 | <P>
|
---|
898 | <DD><DL>
|
---|
899 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/apache/tools/ant/ProjectComponent.html#log(java.lang.String)">log</A></CODE> in class <CODE><A HREF="../../../../org/apache/tools/ant/ProjectComponent.html" title="class in org.apache.tools.ant">ProjectComponent</A></CODE></DL>
|
---|
900 | </DD>
|
---|
901 | <DD><DL>
|
---|
902 | <DT><B>Parameters:</B><DD><CODE>msg</CODE> - The message to be logged. Should not be <code>null</code>.</DL>
|
---|
903 | </DD>
|
---|
904 | </DL>
|
---|
905 | <HR>
|
---|
906 |
|
---|
907 | <A NAME="log(java.lang.String, int)"><!-- --></A><H3>
|
---|
908 | log</H3>
|
---|
909 | <PRE>
|
---|
910 | public void <B>log</B>(java.lang.String msg,
|
---|
911 | int msgLevel)</PRE>
|
---|
912 | <DL>
|
---|
913 | <DD>Logs a message with the given priority. This delegates
|
---|
914 | the actual logging to the project.
|
---|
915 | <P>
|
---|
916 | <DD><DL>
|
---|
917 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/apache/tools/ant/ProjectComponent.html#log(java.lang.String, int)">log</A></CODE> in class <CODE><A HREF="../../../../org/apache/tools/ant/ProjectComponent.html" title="class in org.apache.tools.ant">ProjectComponent</A></CODE></DL>
|
---|
918 | </DD>
|
---|
919 | <DD><DL>
|
---|
920 | <DT><B>Parameters:</B><DD><CODE>msg</CODE> - The message to be logged. Should not be <code>null</code>.<DD><CODE>msgLevel</CODE> - The message priority at which this message is to
|
---|
921 | be logged.</DL>
|
---|
922 | </DD>
|
---|
923 | </DL>
|
---|
924 | <HR>
|
---|
925 |
|
---|
926 | <A NAME="perform()"><!-- --></A><H3>
|
---|
927 | perform</H3>
|
---|
928 | <PRE>
|
---|
929 | public final void <B>perform</B>()</PRE>
|
---|
930 | <DL>
|
---|
931 | <DD>Performs this task if it's still valid, or gets a replacement
|
---|
932 | version and performs that otherwise.
|
---|
933 |
|
---|
934 | Performing a task consists of firing a task started event,
|
---|
935 | configuring the task, executing it, and then firing task finished
|
---|
936 | event. If a runtime exception is thrown, the task finished event
|
---|
937 | is still fired, but with the exception as the cause.
|
---|
938 | <P>
|
---|
939 | <DD><DL>
|
---|
940 | </DL>
|
---|
941 | </DD>
|
---|
942 | </DL>
|
---|
943 | <HR>
|
---|
944 |
|
---|
945 | <A NAME="isInvalid()"><!-- --></A><H3>
|
---|
946 | isInvalid</H3>
|
---|
947 | <PRE>
|
---|
948 | protected final boolean <B>isInvalid</B>()</PRE>
|
---|
949 | <DL>
|
---|
950 | <DD>Has this task been marked invalid?
|
---|
951 | <P>
|
---|
952 | <DD><DL>
|
---|
953 |
|
---|
954 | <DT><B>Returns:</B><DD>true if this task is no longer valid. A new task should be
|
---|
955 | configured in this case.<DT><B>Since:</B></DT>
|
---|
956 | <DD>Ant 1.5</DD>
|
---|
957 | </DL>
|
---|
958 | </DD>
|
---|
959 | </DL>
|
---|
960 | <HR>
|
---|
961 |
|
---|
962 | <A NAME="getTaskType()"><!-- --></A><H3>
|
---|
963 | getTaskType</H3>
|
---|
964 | <PRE>
|
---|
965 | public java.lang.String <B>getTaskType</B>()</PRE>
|
---|
966 | <DL>
|
---|
967 | <DD>Return the type of task
|
---|
968 | <P>
|
---|
969 | <DD><DL>
|
---|
970 |
|
---|
971 | <DT><B>Returns:</B><DD>the type of task</DL>
|
---|
972 | </DD>
|
---|
973 | </DL>
|
---|
974 | <HR>
|
---|
975 |
|
---|
976 | <A NAME="getWrapper()"><!-- --></A><H3>
|
---|
977 | getWrapper</H3>
|
---|
978 | <PRE>
|
---|
979 | protected <A HREF="../../../../org/apache/tools/ant/RuntimeConfigurable.html" title="class in org.apache.tools.ant">RuntimeConfigurable</A> <B>getWrapper</B>()</PRE>
|
---|
980 | <DL>
|
---|
981 | <DD>Return the runtime configurable structure for this task
|
---|
982 | <P>
|
---|
983 | <DD><DL>
|
---|
984 |
|
---|
985 | <DT><B>Returns:</B><DD>the runtime structure for this task</DL>
|
---|
986 | </DD>
|
---|
987 | </DL>
|
---|
988 | <!-- ========= END OF CLASS DATA ========= -->
|
---|
989 | <HR>
|
---|
990 |
|
---|
991 |
|
---|
992 | <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
---|
993 | <A NAME="navbar_bottom"><!-- --></A>
|
---|
994 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
---|
995 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
---|
996 | <TR>
|
---|
997 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
---|
998 | <A NAME="navbar_bottom_firstrow"><!-- --></A>
|
---|
999 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
---|
1000 | <TR ALIGN="center" VALIGN="top">
|
---|
1001 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
---|
1002 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
---|
1003 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
---|
1004 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
---|
1005 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
1006 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
1007 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
---|
1008 | </TR>
|
---|
1009 | </TABLE>
|
---|
1010 | </TD>
|
---|
1011 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
---|
1012 | </EM>
|
---|
1013 | </TD>
|
---|
1014 | </TR>
|
---|
1015 |
|
---|
1016 | <TR>
|
---|
1017 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
1018 | <A HREF="../../../../org/apache/tools/ant/Target.html" title="class in org.apache.tools.ant"><B>PREV CLASS</B></A>
|
---|
1019 | <A HREF="../../../../org/apache/tools/ant/TaskAdapter.html" title="class in org.apache.tools.ant"><B>NEXT CLASS</B></A></FONT></TD>
|
---|
1020 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
1021 | <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A>
|
---|
1022 | <A HREF="Task.html" target="_top"><B>NO FRAMES</B></A>
|
---|
1023 | <SCRIPT type="text/javascript">
|
---|
1024 | <!--
|
---|
1025 | if(window==top) {
|
---|
1026 | document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
---|
1027 | }
|
---|
1028 | //-->
|
---|
1029 | </SCRIPT>
|
---|
1030 | <NOSCRIPT>
|
---|
1031 | <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
---|
1032 | </NOSCRIPT>
|
---|
1033 |
|
---|
1034 | </FONT></TD>
|
---|
1035 | </TR>
|
---|
1036 | <TR>
|
---|
1037 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
1038 | SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
---|
1039 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
1040 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
---|
1041 | </TR>
|
---|
1042 | </TABLE>
|
---|
1043 | <A NAME="skip-navbar_bottom"></A>
|
---|
1044 | <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
---|
1045 |
|
---|
1046 | <HR>
|
---|
1047 | Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.
|
---|
1048 | </BODY>
|
---|
1049 | </HTML>
|
---|