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:28 NZST 2007 -->
|
---|
6 | <TITLE>
|
---|
7 | AbstractMetamataTask (Apache Ant API)
|
---|
8 | </TITLE>
|
---|
9 |
|
---|
10 | <META NAME="keywords" CONTENT="org.apache.tools.ant.taskdefs.optional.metamata.AbstractMetamataTask 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="AbstractMetamataTask (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 | <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/metamata/MAudit.html" title="class in org.apache.tools.ant.taskdefs.optional.metamata"><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="AbstractMetamataTask.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.taskdefs.optional.metamata</FONT>
|
---|
85 | <BR>
|
---|
86 | Class AbstractMetamataTask</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.optional.metamata.AbstractMetamataTask</B>
|
---|
92 | </PRE>
|
---|
93 | <DL>
|
---|
94 | <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/metamata/MAudit.html" title="class in org.apache.tools.ant.taskdefs.optional.metamata">MAudit</A>, <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/metamata/MMetrics.html" title="class in org.apache.tools.ant.taskdefs.optional.metamata">MMetrics</A>, <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/metamata/MParse.html" title="class in org.apache.tools.ant.taskdefs.optional.metamata">MParse</A></DD>
|
---|
95 | </DL>
|
---|
96 | <HR>
|
---|
97 | <DL>
|
---|
98 | <DT>public abstract class <B>AbstractMetamataTask</B><DT>extends <A HREF="../../../../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A></DL>
|
---|
99 |
|
---|
100 | <P>
|
---|
101 | Somewhat abstract framework to be used for other metama 2.0 tasks.
|
---|
102 | This should include, audit, metrics, cover and mparse.
|
---|
103 |
|
---|
104 | For more information, visit the website at
|
---|
105 | <a href="http://www.metamata.com">www.metamata.com</a>
|
---|
106 | <P>
|
---|
107 |
|
---|
108 | <P>
|
---|
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 <A HREF="../../../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A></CODE></FONT></TD>
|
---|
126 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/metamata/AbstractMetamataTask.html#classPath">classPath</A></B></CODE>
|
---|
127 |
|
---|
128 | <BR>
|
---|
129 | The user classpath to be provided.</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/types/CommandlineJava.html" title="class in org.apache.tools.ant.types">CommandlineJava</A></CODE></FONT></TD>
|
---|
134 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/metamata/AbstractMetamataTask.html#cmdl">cmdl</A></B></CODE>
|
---|
135 |
|
---|
136 | <BR>
|
---|
137 | the command line used to run MAudit</TD>
|
---|
138 | </TR>
|
---|
139 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
140 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
141 | <CODE>protected java.util.Vector</CODE></FONT></TD>
|
---|
142 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/metamata/AbstractMetamataTask.html#fileSets">fileSets</A></B></CODE>
|
---|
143 |
|
---|
144 | <BR>
|
---|
145 | the set of files to be audited</TD>
|
---|
146 | </TR>
|
---|
147 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
148 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
149 | <CODE>protected java.util.Hashtable</CODE></FONT></TD>
|
---|
150 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/metamata/AbstractMetamataTask.html#includedFiles">includedFiles</A></B></CODE>
|
---|
151 |
|
---|
152 | <BR>
|
---|
153 | </TD>
|
---|
154 | </TR>
|
---|
155 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
156 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
157 | <CODE>protected java.io.File</CODE></FONT></TD>
|
---|
158 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/metamata/AbstractMetamataTask.html#metamataHome">metamataHome</A></B></CODE>
|
---|
159 |
|
---|
160 | <BR>
|
---|
161 | Metamata home directory.</TD>
|
---|
162 | </TR>
|
---|
163 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
164 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
165 | <CODE>protected java.io.File</CODE></FONT></TD>
|
---|
166 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/metamata/AbstractMetamataTask.html#optionsFile">optionsFile</A></B></CODE>
|
---|
167 |
|
---|
168 | <BR>
|
---|
169 | the options file where are stored the command line options</TD>
|
---|
170 | </TR>
|
---|
171 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
172 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
173 | <CODE>protected <A HREF="../../../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A></CODE></FONT></TD>
|
---|
174 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/metamata/AbstractMetamataTask.html#sourcePath">sourcePath</A></B></CODE>
|
---|
175 |
|
---|
176 | <BR>
|
---|
177 | the path to the source file</TD>
|
---|
178 | </TR>
|
---|
179 | </TABLE>
|
---|
180 | <A NAME="fields_inherited_from_class_org.apache.tools.ant.Task"><!-- --></A>
|
---|
181 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
182 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
183 | <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>
|
---|
184 | </TR>
|
---|
185 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
186 | <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>
|
---|
187 | </TR>
|
---|
188 | </TABLE>
|
---|
189 | <A NAME="fields_inherited_from_class_org.apache.tools.ant.ProjectComponent"><!-- --></A>
|
---|
190 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
191 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
192 | <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>
|
---|
193 | </TR>
|
---|
194 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
195 | <TD><CODE><A HREF="../../../../../../../org/apache/tools/ant/ProjectComponent.html#project">project</A></CODE></TD>
|
---|
196 | </TR>
|
---|
197 | </TABLE>
|
---|
198 |
|
---|
199 | <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
---|
200 |
|
---|
201 | <A NAME="constructor_summary"><!-- --></A>
|
---|
202 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
203 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
204 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
205 | <B>Constructor Summary</B></FONT></TD>
|
---|
206 | </TR>
|
---|
207 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
208 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
209 | <CODE> </CODE></FONT></TD>
|
---|
210 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/metamata/AbstractMetamataTask.html#AbstractMetamataTask()">AbstractMetamataTask</A></B>()</CODE>
|
---|
211 |
|
---|
212 | <BR>
|
---|
213 | </TD>
|
---|
214 | </TR>
|
---|
215 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
216 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
217 | <CODE>protected </CODE></FONT></TD>
|
---|
218 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/metamata/AbstractMetamataTask.html#AbstractMetamataTask(java.lang.String)">AbstractMetamataTask</A></B>(java.lang.String className)</CODE>
|
---|
219 |
|
---|
220 | <BR>
|
---|
221 | initialize the task with the classname of the task to run</TD>
|
---|
222 | </TR>
|
---|
223 | </TABLE>
|
---|
224 |
|
---|
225 | <!-- ========== METHOD SUMMARY =========== -->
|
---|
226 |
|
---|
227 | <A NAME="method_summary"><!-- --></A>
|
---|
228 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
229 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
230 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
231 | <B>Method Summary</B></FONT></TD>
|
---|
232 | </TR>
|
---|
233 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
234 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
235 | <CODE>protected static void</CODE></FONT></TD>
|
---|
236 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/metamata/AbstractMetamataTask.html#addAllVector(java.util.Vector, java.util.Enumeration)">addAllVector</A></B>(java.util.Vector dest,
|
---|
237 | java.util.Enumeration files)</CODE>
|
---|
238 |
|
---|
239 | <BR>
|
---|
240 | convenient method for JDK 1.1.</TD>
|
---|
241 | </TR>
|
---|
242 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
243 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
244 | <CODE> void</CODE></FONT></TD>
|
---|
245 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/metamata/AbstractMetamataTask.html#addFileSet(org.apache.tools.ant.types.FileSet)">addFileSet</A></B>(<A HREF="../../../../../../../org/apache/tools/ant/types/FileSet.html" title="class in org.apache.tools.ant.types">FileSet</A> fs)</CODE>
|
---|
246 |
|
---|
247 | <BR>
|
---|
248 | The java files or directory to audit.</TD>
|
---|
249 | </TR>
|
---|
250 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
251 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
252 | <CODE>protected void</CODE></FONT></TD>
|
---|
253 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/metamata/AbstractMetamataTask.html#checkOptions()">checkOptions</A></B>()</CODE>
|
---|
254 |
|
---|
255 | <BR>
|
---|
256 | validate options set</TD>
|
---|
257 | </TR>
|
---|
258 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
259 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
260 | <CODE>protected void</CODE></FONT></TD>
|
---|
261 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/metamata/AbstractMetamataTask.html#cleanUp()">cleanUp</A></B>()</CODE>
|
---|
262 |
|
---|
263 | <BR>
|
---|
264 | clean up all the mess that we did with temporary objects</TD>
|
---|
265 | </TR>
|
---|
266 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
267 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
268 | <CODE> <A HREF="../../../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A></CODE></FONT></TD>
|
---|
269 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/metamata/AbstractMetamataTask.html#createClasspath()">createClasspath</A></B>()</CODE>
|
---|
270 |
|
---|
271 | <BR>
|
---|
272 | Sets the class path (also source path unless one explicitly set).</TD>
|
---|
273 | </TR>
|
---|
274 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
275 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
276 | <CODE> <A HREF="../../../../../../../org/apache/tools/ant/types/Commandline.Argument.html" title="class in org.apache.tools.ant.types">Commandline.Argument</A></CODE></FONT></TD>
|
---|
277 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/metamata/AbstractMetamataTask.html#createJvmarg()">createJvmarg</A></B>()</CODE>
|
---|
278 |
|
---|
279 | <BR>
|
---|
280 | Additional optional parameters to pass to the JVM.</TD>
|
---|
281 | </TR>
|
---|
282 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
283 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
284 | <CODE> <A HREF="../../../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A></CODE></FONT></TD>
|
---|
285 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/metamata/AbstractMetamataTask.html#createSourcepath()">createSourcepath</A></B>()</CODE>
|
---|
286 |
|
---|
287 | <BR>
|
---|
288 | Sets the source path.</TD>
|
---|
289 | </TR>
|
---|
290 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
291 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
292 | <CODE>protected abstract <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/ExecuteStreamHandler.html" title="interface in org.apache.tools.ant.taskdefs">ExecuteStreamHandler</A></CODE></FONT></TD>
|
---|
293 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/metamata/AbstractMetamataTask.html#createStreamHandler()">createStreamHandler</A></B>()</CODE>
|
---|
294 |
|
---|
295 | <BR>
|
---|
296 | create a stream handler that will be used to get the output since
|
---|
297 | metamata tools do not report with convenient files such as XML.</TD>
|
---|
298 | </TR>
|
---|
299 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
300 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
301 | <CODE>protected java.io.File</CODE></FONT></TD>
|
---|
302 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/metamata/AbstractMetamataTask.html#createTmpFile()">createTmpFile</A></B>()</CODE>
|
---|
303 |
|
---|
304 | <BR>
|
---|
305 | </TD>
|
---|
306 | </TR>
|
---|
307 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
308 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
309 | <CODE> void</CODE></FONT></TD>
|
---|
310 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/metamata/AbstractMetamataTask.html#execute()">execute</A></B>()</CODE>
|
---|
311 |
|
---|
312 | <BR>
|
---|
313 | execute the command line</TD>
|
---|
314 | </TR>
|
---|
315 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
316 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
317 | <CODE>protected void</CODE></FONT></TD>
|
---|
318 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/metamata/AbstractMetamataTask.html#execute0(org.apache.tools.ant.taskdefs.ExecuteStreamHandler)">execute0</A></B>(<A HREF="../../../../../../../org/apache/tools/ant/taskdefs/ExecuteStreamHandler.html" title="interface in org.apache.tools.ant.taskdefs">ExecuteStreamHandler</A> handler)</CODE>
|
---|
319 |
|
---|
320 | <BR>
|
---|
321 | execute the process with a specific handler</TD>
|
---|
322 | </TR>
|
---|
323 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
324 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
325 | <CODE>protected void</CODE></FONT></TD>
|
---|
326 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/metamata/AbstractMetamataTask.html#generateOptionsFile(java.io.File, java.util.Vector)">generateOptionsFile</A></B>(java.io.File tofile,
|
---|
327 | java.util.Vector options)</CODE>
|
---|
328 |
|
---|
329 | <BR>
|
---|
330 | </TD>
|
---|
331 | </TR>
|
---|
332 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
333 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
334 | <CODE>protected java.util.Hashtable</CODE></FONT></TD>
|
---|
335 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/metamata/AbstractMetamataTask.html#getFileMapping()">getFileMapping</A></B>()</CODE>
|
---|
336 |
|
---|
337 | <BR>
|
---|
338 | </TD>
|
---|
339 | </TR>
|
---|
340 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
341 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
342 | <CODE>protected java.io.File</CODE></FONT></TD>
|
---|
343 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/metamata/AbstractMetamataTask.html#getMetamataJar(java.io.File)">getMetamataJar</A></B>(java.io.File home)</CODE>
|
---|
344 |
|
---|
345 | <BR>
|
---|
346 | return the location of the jar file used to run</TD>
|
---|
347 | </TR>
|
---|
348 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
349 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
350 | <CODE>protected abstract java.util.Vector</CODE></FONT></TD>
|
---|
351 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/metamata/AbstractMetamataTask.html#getOptions()">getOptions</A></B>()</CODE>
|
---|
352 |
|
---|
353 | <BR>
|
---|
354 | return all options of the command line as string elements</TD>
|
---|
355 | </TR>
|
---|
356 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
357 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
358 | <CODE>protected java.util.Hashtable</CODE></FONT></TD>
|
---|
359 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/metamata/AbstractMetamataTask.html#scanSources(java.util.Hashtable)">scanSources</A></B>(java.util.Hashtable map)</CODE>
|
---|
360 |
|
---|
361 | <BR>
|
---|
362 | </TD>
|
---|
363 | </TR>
|
---|
364 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
365 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
366 | <CODE>protected java.util.Hashtable</CODE></FONT></TD>
|
---|
367 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/metamata/AbstractMetamataTask.html#scanSources(java.util.Hashtable, java.lang.String[])">scanSources</A></B>(java.util.Hashtable mapping,
|
---|
368 | java.lang.String[] entries)</CODE>
|
---|
369 |
|
---|
370 | <BR>
|
---|
371 | </TD>
|
---|
372 | </TR>
|
---|
373 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
374 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
375 | <CODE> void</CODE></FONT></TD>
|
---|
376 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/metamata/AbstractMetamataTask.html#setHome(java.io.File)">setHome</A></B>(java.io.File value)</CODE>
|
---|
377 |
|
---|
378 | <BR>
|
---|
379 | the metamata.home property to run all tasks.</TD>
|
---|
380 | </TR>
|
---|
381 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
382 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
383 | <CODE> void</CODE></FONT></TD>
|
---|
384 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/metamata/AbstractMetamataTask.html#setMaxmemory(java.lang.String)">setMaxmemory</A></B>(java.lang.String max)</CODE>
|
---|
385 |
|
---|
386 | <BR>
|
---|
387 | Set the maximum memory for the JVM; optional.</TD>
|
---|
388 | </TR>
|
---|
389 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
390 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
391 | <CODE> void</CODE></FONT></TD>
|
---|
392 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/metamata/AbstractMetamataTask.html#setMetamatahome(java.io.File)">setMetamatahome</A></B>(java.io.File value)</CODE>
|
---|
393 |
|
---|
394 | <BR>
|
---|
395 | The home directory containing the Metamata distribution; required</TD>
|
---|
396 | </TR>
|
---|
397 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
398 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
399 | <CODE>protected void</CODE></FONT></TD>
|
---|
400 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/metamata/AbstractMetamataTask.html#setUp()">setUp</A></B>()</CODE>
|
---|
401 |
|
---|
402 | <BR>
|
---|
403 | check the options and build the command line</TD>
|
---|
404 | </TR>
|
---|
405 | </TABLE>
|
---|
406 | <A NAME="methods_inherited_from_class_org.apache.tools.ant.Task"><!-- --></A>
|
---|
407 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
408 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
409 | <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>
|
---|
410 | </TR>
|
---|
411 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
412 | <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>
|
---|
413 | </TR>
|
---|
414 | </TABLE>
|
---|
415 | <A NAME="methods_inherited_from_class_org.apache.tools.ant.ProjectComponent"><!-- --></A>
|
---|
416 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
417 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
418 | <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>
|
---|
419 | </TR>
|
---|
420 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
421 | <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>
|
---|
422 | </TR>
|
---|
423 | </TABLE>
|
---|
424 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></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 java.lang.Object</B></TD>
|
---|
428 | </TR>
|
---|
429 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
430 | <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
|
---|
431 | </TR>
|
---|
432 | </TABLE>
|
---|
433 |
|
---|
434 | <P>
|
---|
435 |
|
---|
436 | <!-- ============ FIELD DETAIL =========== -->
|
---|
437 |
|
---|
438 | <A NAME="field_detail"><!-- --></A>
|
---|
439 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
440 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
441 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
442 | <B>Field Detail</B></FONT></TD>
|
---|
443 | </TR>
|
---|
444 | </TABLE>
|
---|
445 |
|
---|
446 | <A NAME="classPath"><!-- --></A><H3>
|
---|
447 | classPath</H3>
|
---|
448 | <PRE>
|
---|
449 | protected <A HREF="../../../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A> <B>classPath</B></PRE>
|
---|
450 | <DL>
|
---|
451 | <DD>The user classpath to be provided. It matches the -classpath of the
|
---|
452 | command line. The classpath must includes both the <tt>.class</tt> and the
|
---|
453 | <tt>.java</tt> files for accurate audit.
|
---|
454 | <P>
|
---|
455 | <DL>
|
---|
456 | </DL>
|
---|
457 | </DL>
|
---|
458 | <HR>
|
---|
459 |
|
---|
460 | <A NAME="sourcePath"><!-- --></A><H3>
|
---|
461 | sourcePath</H3>
|
---|
462 | <PRE>
|
---|
463 | protected <A HREF="../../../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A> <B>sourcePath</B></PRE>
|
---|
464 | <DL>
|
---|
465 | <DD>the path to the source file
|
---|
466 | <P>
|
---|
467 | <DL>
|
---|
468 | </DL>
|
---|
469 | </DL>
|
---|
470 | <HR>
|
---|
471 |
|
---|
472 | <A NAME="metamataHome"><!-- --></A><H3>
|
---|
473 | metamataHome</H3>
|
---|
474 | <PRE>
|
---|
475 | protected java.io.File <B>metamataHome</B></PRE>
|
---|
476 | <DL>
|
---|
477 | <DD>Metamata home directory. It will be passed as a <tt>metamata.home</tt> property
|
---|
478 | and should normally matches the environment property <tt>META_HOME</tt>
|
---|
479 | set by the Metamata installer.
|
---|
480 | <P>
|
---|
481 | <DL>
|
---|
482 | </DL>
|
---|
483 | </DL>
|
---|
484 | <HR>
|
---|
485 |
|
---|
486 | <A NAME="cmdl"><!-- --></A><H3>
|
---|
487 | cmdl</H3>
|
---|
488 | <PRE>
|
---|
489 | protected <A HREF="../../../../../../../org/apache/tools/ant/types/CommandlineJava.html" title="class in org.apache.tools.ant.types">CommandlineJava</A> <B>cmdl</B></PRE>
|
---|
490 | <DL>
|
---|
491 | <DD>the command line used to run MAudit
|
---|
492 | <P>
|
---|
493 | <DL>
|
---|
494 | </DL>
|
---|
495 | </DL>
|
---|
496 | <HR>
|
---|
497 |
|
---|
498 | <A NAME="fileSets"><!-- --></A><H3>
|
---|
499 | fileSets</H3>
|
---|
500 | <PRE>
|
---|
501 | protected java.util.Vector <B>fileSets</B></PRE>
|
---|
502 | <DL>
|
---|
503 | <DD>the set of files to be audited
|
---|
504 | <P>
|
---|
505 | <DL>
|
---|
506 | </DL>
|
---|
507 | </DL>
|
---|
508 | <HR>
|
---|
509 |
|
---|
510 | <A NAME="optionsFile"><!-- --></A><H3>
|
---|
511 | optionsFile</H3>
|
---|
512 | <PRE>
|
---|
513 | protected java.io.File <B>optionsFile</B></PRE>
|
---|
514 | <DL>
|
---|
515 | <DD>the options file where are stored the command line options
|
---|
516 | <P>
|
---|
517 | <DL>
|
---|
518 | </DL>
|
---|
519 | </DL>
|
---|
520 | <HR>
|
---|
521 |
|
---|
522 | <A NAME="includedFiles"><!-- --></A><H3>
|
---|
523 | includedFiles</H3>
|
---|
524 | <PRE>
|
---|
525 | protected java.util.Hashtable <B>includedFiles</B></PRE>
|
---|
526 | <DL>
|
---|
527 | <DL>
|
---|
528 | </DL>
|
---|
529 | </DL>
|
---|
530 |
|
---|
531 | <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
---|
532 |
|
---|
533 | <A NAME="constructor_detail"><!-- --></A>
|
---|
534 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
535 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
536 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
537 | <B>Constructor Detail</B></FONT></TD>
|
---|
538 | </TR>
|
---|
539 | </TABLE>
|
---|
540 |
|
---|
541 | <A NAME="AbstractMetamataTask()"><!-- --></A><H3>
|
---|
542 | AbstractMetamataTask</H3>
|
---|
543 | <PRE>
|
---|
544 | public <B>AbstractMetamataTask</B>()</PRE>
|
---|
545 | <DL>
|
---|
546 | </DL>
|
---|
547 | <HR>
|
---|
548 |
|
---|
549 | <A NAME="AbstractMetamataTask(java.lang.String)"><!-- --></A><H3>
|
---|
550 | AbstractMetamataTask</H3>
|
---|
551 | <PRE>
|
---|
552 | protected <B>AbstractMetamataTask</B>(java.lang.String className)</PRE>
|
---|
553 | <DL>
|
---|
554 | <DD>initialize the task with the classname of the task to run
|
---|
555 | <P>
|
---|
556 | </DL>
|
---|
557 |
|
---|
558 | <!-- ============ METHOD DETAIL ========== -->
|
---|
559 |
|
---|
560 | <A NAME="method_detail"><!-- --></A>
|
---|
561 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
562 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
563 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
564 | <B>Method Detail</B></FONT></TD>
|
---|
565 | </TR>
|
---|
566 | </TABLE>
|
---|
567 |
|
---|
568 | <A NAME="setHome(java.io.File)"><!-- --></A><H3>
|
---|
569 | setHome</H3>
|
---|
570 | <PRE>
|
---|
571 | public void <B>setHome</B>(java.io.File value)</PRE>
|
---|
572 | <DL>
|
---|
573 | <DD>the metamata.home property to run all tasks.
|
---|
574 | <P>
|
---|
575 | <DD><DL>
|
---|
576 | </DL>
|
---|
577 | </DD>
|
---|
578 | </DL>
|
---|
579 | <HR>
|
---|
580 |
|
---|
581 | <A NAME="setMetamatahome(java.io.File)"><!-- --></A><H3>
|
---|
582 | setMetamatahome</H3>
|
---|
583 | <PRE>
|
---|
584 | public void <B>setMetamatahome</B>(java.io.File value)</PRE>
|
---|
585 | <DL>
|
---|
586 | <DD>The home directory containing the Metamata distribution; required
|
---|
587 | <P>
|
---|
588 | <DD><DL>
|
---|
589 | </DL>
|
---|
590 | </DD>
|
---|
591 | </DL>
|
---|
592 | <HR>
|
---|
593 |
|
---|
594 | <A NAME="createClasspath()"><!-- --></A><H3>
|
---|
595 | createClasspath</H3>
|
---|
596 | <PRE>
|
---|
597 | public <A HREF="../../../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A> <B>createClasspath</B>()</PRE>
|
---|
598 | <DL>
|
---|
599 | <DD>Sets the class path (also source path unless one explicitly set).
|
---|
600 | Overrides METAPATH/CLASSPATH environment variables.
|
---|
601 | <P>
|
---|
602 | <DD><DL>
|
---|
603 | </DL>
|
---|
604 | </DD>
|
---|
605 | </DL>
|
---|
606 | <HR>
|
---|
607 |
|
---|
608 | <A NAME="createSourcepath()"><!-- --></A><H3>
|
---|
609 | createSourcepath</H3>
|
---|
610 | <PRE>
|
---|
611 | public <A HREF="../../../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A> <B>createSourcepath</B>()</PRE>
|
---|
612 | <DL>
|
---|
613 | <DD>Sets the source path.
|
---|
614 | Overrides the SOURCEPATH environment variable.
|
---|
615 | <P>
|
---|
616 | <DD><DL>
|
---|
617 | </DL>
|
---|
618 | </DD>
|
---|
619 | </DL>
|
---|
620 | <HR>
|
---|
621 |
|
---|
622 | <A NAME="createJvmarg()"><!-- --></A><H3>
|
---|
623 | createJvmarg</H3>
|
---|
624 | <PRE>
|
---|
625 | public <A HREF="../../../../../../../org/apache/tools/ant/types/Commandline.Argument.html" title="class in org.apache.tools.ant.types">Commandline.Argument</A> <B>createJvmarg</B>()</PRE>
|
---|
626 | <DL>
|
---|
627 | <DD>Additional optional parameters to pass to the JVM.
|
---|
628 | You can avoid using the <code><jvmarg></code> by adding these empty
|
---|
629 | entries to <code>metamata.properties</code> located at <code>${metamata.home}/bin</code>
|
---|
630 |
|
---|
631 | <pre>metamata.classpath=
|
---|
632 | metamata.sourcepath=
|
---|
633 | metamata.baseclasspath=
|
---|
634 | </pre>
|
---|
635 | <P>
|
---|
636 | <DD><DL>
|
---|
637 | </DL>
|
---|
638 | </DD>
|
---|
639 | </DL>
|
---|
640 | <HR>
|
---|
641 |
|
---|
642 | <A NAME="setMaxmemory(java.lang.String)"><!-- --></A><H3>
|
---|
643 | setMaxmemory</H3>
|
---|
644 | <PRE>
|
---|
645 | public void <B>setMaxmemory</B>(java.lang.String max)</PRE>
|
---|
646 | <DL>
|
---|
647 | <DD>Set the maximum memory for the JVM; optional.
|
---|
648 | -mx or -Xmx depending on VM version
|
---|
649 | <P>
|
---|
650 | <DD><DL>
|
---|
651 | </DL>
|
---|
652 | </DD>
|
---|
653 | </DL>
|
---|
654 | <HR>
|
---|
655 |
|
---|
656 | <A NAME="addFileSet(org.apache.tools.ant.types.FileSet)"><!-- --></A><H3>
|
---|
657 | addFileSet</H3>
|
---|
658 | <PRE>
|
---|
659 | public void <B>addFileSet</B>(<A HREF="../../../../../../../org/apache/tools/ant/types/FileSet.html" title="class in org.apache.tools.ant.types">FileSet</A> fs)</PRE>
|
---|
660 | <DL>
|
---|
661 | <DD>The java files or directory to audit.
|
---|
662 | Whatever the filter is, only the files that end
|
---|
663 | with .java will be included for processing.
|
---|
664 | Note that the base directory used for the fileset
|
---|
665 | MUST be the root of the source files otherwise package names
|
---|
666 | deduced from the file path will be incorrect.
|
---|
667 | <P>
|
---|
668 | <DD><DL>
|
---|
669 | </DL>
|
---|
670 | </DD>
|
---|
671 | </DL>
|
---|
672 | <HR>
|
---|
673 |
|
---|
674 | <A NAME="execute()"><!-- --></A><H3>
|
---|
675 | execute</H3>
|
---|
676 | <PRE>
|
---|
677 | public void <B>execute</B>()
|
---|
678 | throws <A HREF="../../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
|
---|
679 | <DL>
|
---|
680 | <DD>execute the command line
|
---|
681 | <P>
|
---|
682 | <DD><DL>
|
---|
683 | <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>
|
---|
684 | </DD>
|
---|
685 | <DD><DL>
|
---|
686 |
|
---|
687 | <DT><B>Throws:</B>
|
---|
688 | <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>
|
---|
689 | </DD>
|
---|
690 | </DL>
|
---|
691 | <HR>
|
---|
692 |
|
---|
693 | <A NAME="setUp()"><!-- --></A><H3>
|
---|
694 | setUp</H3>
|
---|
695 | <PRE>
|
---|
696 | protected void <B>setUp</B>()
|
---|
697 | throws <A HREF="../../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
|
---|
698 | <DL>
|
---|
699 | <DD>check the options and build the command line
|
---|
700 | <P>
|
---|
701 | <DD><DL>
|
---|
702 |
|
---|
703 | <DT><B>Throws:</B>
|
---|
704 | <DD><CODE><A HREF="../../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE></DL>
|
---|
705 | </DD>
|
---|
706 | </DL>
|
---|
707 | <HR>
|
---|
708 |
|
---|
709 | <A NAME="createStreamHandler()"><!-- --></A><H3>
|
---|
710 | createStreamHandler</H3>
|
---|
711 | <PRE>
|
---|
712 | protected abstract <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/ExecuteStreamHandler.html" title="interface in org.apache.tools.ant.taskdefs">ExecuteStreamHandler</A> <B>createStreamHandler</B>()</PRE>
|
---|
713 | <DL>
|
---|
714 | <DD>create a stream handler that will be used to get the output since
|
---|
715 | metamata tools do not report with convenient files such as XML.
|
---|
716 | <P>
|
---|
717 | <DD><DL>
|
---|
718 | </DL>
|
---|
719 | </DD>
|
---|
720 | </DL>
|
---|
721 | <HR>
|
---|
722 |
|
---|
723 | <A NAME="execute0(org.apache.tools.ant.taskdefs.ExecuteStreamHandler)"><!-- --></A><H3>
|
---|
724 | execute0</H3>
|
---|
725 | <PRE>
|
---|
726 | protected void <B>execute0</B>(<A HREF="../../../../../../../org/apache/tools/ant/taskdefs/ExecuteStreamHandler.html" title="interface in org.apache.tools.ant.taskdefs">ExecuteStreamHandler</A> handler)
|
---|
727 | throws <A HREF="../../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
|
---|
728 | <DL>
|
---|
729 | <DD>execute the process with a specific handler
|
---|
730 | <P>
|
---|
731 | <DD><DL>
|
---|
732 |
|
---|
733 | <DT><B>Throws:</B>
|
---|
734 | <DD><CODE><A HREF="../../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE></DL>
|
---|
735 | </DD>
|
---|
736 | </DL>
|
---|
737 | <HR>
|
---|
738 |
|
---|
739 | <A NAME="cleanUp()"><!-- --></A><H3>
|
---|
740 | cleanUp</H3>
|
---|
741 | <PRE>
|
---|
742 | protected void <B>cleanUp</B>()</PRE>
|
---|
743 | <DL>
|
---|
744 | <DD>clean up all the mess that we did with temporary objects
|
---|
745 | <P>
|
---|
746 | <DD><DL>
|
---|
747 | </DL>
|
---|
748 | </DD>
|
---|
749 | </DL>
|
---|
750 | <HR>
|
---|
751 |
|
---|
752 | <A NAME="getMetamataJar(java.io.File)"><!-- --></A><H3>
|
---|
753 | getMetamataJar</H3>
|
---|
754 | <PRE>
|
---|
755 | protected final java.io.File <B>getMetamataJar</B>(java.io.File home)</PRE>
|
---|
756 | <DL>
|
---|
757 | <DD>return the location of the jar file used to run
|
---|
758 | <P>
|
---|
759 | <DD><DL>
|
---|
760 | </DL>
|
---|
761 | </DD>
|
---|
762 | </DL>
|
---|
763 | <HR>
|
---|
764 |
|
---|
765 | <A NAME="checkOptions()"><!-- --></A><H3>
|
---|
766 | checkOptions</H3>
|
---|
767 | <PRE>
|
---|
768 | protected void <B>checkOptions</B>()
|
---|
769 | throws <A HREF="../../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
|
---|
770 | <DL>
|
---|
771 | <DD>validate options set
|
---|
772 | <P>
|
---|
773 | <DD><DL>
|
---|
774 |
|
---|
775 | <DT><B>Throws:</B>
|
---|
776 | <DD><CODE><A HREF="../../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE></DL>
|
---|
777 | </DD>
|
---|
778 | </DL>
|
---|
779 | <HR>
|
---|
780 |
|
---|
781 | <A NAME="getOptions()"><!-- --></A><H3>
|
---|
782 | getOptions</H3>
|
---|
783 | <PRE>
|
---|
784 | protected abstract java.util.Vector <B>getOptions</B>()</PRE>
|
---|
785 | <DL>
|
---|
786 | <DD>return all options of the command line as string elements
|
---|
787 | <P>
|
---|
788 | <DD><DL>
|
---|
789 | </DL>
|
---|
790 | </DD>
|
---|
791 | </DL>
|
---|
792 | <HR>
|
---|
793 |
|
---|
794 | <A NAME="generateOptionsFile(java.io.File, java.util.Vector)"><!-- --></A><H3>
|
---|
795 | generateOptionsFile</H3>
|
---|
796 | <PRE>
|
---|
797 | protected void <B>generateOptionsFile</B>(java.io.File tofile,
|
---|
798 | java.util.Vector options)
|
---|
799 | throws <A HREF="../../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
|
---|
800 | <DL>
|
---|
801 | <DD><DL>
|
---|
802 |
|
---|
803 | <DT><B>Throws:</B>
|
---|
804 | <DD><CODE><A HREF="../../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE></DL>
|
---|
805 | </DD>
|
---|
806 | </DL>
|
---|
807 | <HR>
|
---|
808 |
|
---|
809 | <A NAME="getFileMapping()"><!-- --></A><H3>
|
---|
810 | getFileMapping</H3>
|
---|
811 | <PRE>
|
---|
812 | protected java.util.Hashtable <B>getFileMapping</B>()</PRE>
|
---|
813 | <DL>
|
---|
814 | <DD><DL>
|
---|
815 | </DL>
|
---|
816 | </DD>
|
---|
817 | </DL>
|
---|
818 | <HR>
|
---|
819 |
|
---|
820 | <A NAME="addAllVector(java.util.Vector, java.util.Enumeration)"><!-- --></A><H3>
|
---|
821 | addAllVector</H3>
|
---|
822 | <PRE>
|
---|
823 | protected static final void <B>addAllVector</B>(java.util.Vector dest,
|
---|
824 | java.util.Enumeration files)</PRE>
|
---|
825 | <DL>
|
---|
826 | <DD>convenient method for JDK 1.1. Will copy all elements from src to dest
|
---|
827 | <P>
|
---|
828 | <DD><DL>
|
---|
829 | </DL>
|
---|
830 | </DD>
|
---|
831 | </DL>
|
---|
832 | <HR>
|
---|
833 |
|
---|
834 | <A NAME="createTmpFile()"><!-- --></A><H3>
|
---|
835 | createTmpFile</H3>
|
---|
836 | <PRE>
|
---|
837 | protected final java.io.File <B>createTmpFile</B>()</PRE>
|
---|
838 | <DL>
|
---|
839 | <DD><DL>
|
---|
840 | </DL>
|
---|
841 | </DD>
|
---|
842 | </DL>
|
---|
843 | <HR>
|
---|
844 |
|
---|
845 | <A NAME="scanSources(java.util.Hashtable)"><!-- --></A><H3>
|
---|
846 | scanSources</H3>
|
---|
847 | <PRE>
|
---|
848 | protected java.util.Hashtable <B>scanSources</B>(java.util.Hashtable map)</PRE>
|
---|
849 | <DL>
|
---|
850 | <DD><DL>
|
---|
851 |
|
---|
852 | <DT><B>Returns:</B><DD>the list of .java files (as their absolute path) that should
|
---|
853 | be audited.</DL>
|
---|
854 | </DD>
|
---|
855 | </DL>
|
---|
856 | <HR>
|
---|
857 |
|
---|
858 | <A NAME="scanSources(java.util.Hashtable, java.lang.String[])"><!-- --></A><H3>
|
---|
859 | scanSources</H3>
|
---|
860 | <PRE>
|
---|
861 | protected java.util.Hashtable <B>scanSources</B>(java.util.Hashtable mapping,
|
---|
862 | java.lang.String[] entries)</PRE>
|
---|
863 | <DL>
|
---|
864 | <DD><DL>
|
---|
865 | </DL>
|
---|
866 | </DD>
|
---|
867 | </DL>
|
---|
868 | <!-- ========= END OF CLASS DATA ========= -->
|
---|
869 | <HR>
|
---|
870 |
|
---|
871 |
|
---|
872 | <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
---|
873 | <A NAME="navbar_bottom"><!-- --></A>
|
---|
874 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
---|
875 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
---|
876 | <TR>
|
---|
877 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
---|
878 | <A NAME="navbar_bottom_firstrow"><!-- --></A>
|
---|
879 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
---|
880 | <TR ALIGN="center" VALIGN="top">
|
---|
881 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
---|
882 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
---|
883 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
---|
884 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
---|
885 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
886 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
887 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
---|
888 | </TR>
|
---|
889 | </TABLE>
|
---|
890 | </TD>
|
---|
891 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
---|
892 | </EM>
|
---|
893 | </TD>
|
---|
894 | </TR>
|
---|
895 |
|
---|
896 | <TR>
|
---|
897 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
898 | PREV CLASS
|
---|
899 | <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/metamata/MAudit.html" title="class in org.apache.tools.ant.taskdefs.optional.metamata"><B>NEXT CLASS</B></A></FONT></TD>
|
---|
900 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
901 | <A HREF="../../../../../../../index.html" target="_top"><B>FRAMES</B></A>
|
---|
902 | <A HREF="AbstractMetamataTask.html" target="_top"><B>NO FRAMES</B></A>
|
---|
903 | <SCRIPT type="text/javascript">
|
---|
904 | <!--
|
---|
905 | if(window==top) {
|
---|
906 | document.writeln('<A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
---|
907 | }
|
---|
908 | //-->
|
---|
909 | </SCRIPT>
|
---|
910 | <NOSCRIPT>
|
---|
911 | <A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
---|
912 | </NOSCRIPT>
|
---|
913 |
|
---|
914 | </FONT></TD>
|
---|
915 | </TR>
|
---|
916 | <TR>
|
---|
917 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
918 | SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
---|
919 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
920 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
---|
921 | </TR>
|
---|
922 | </TABLE>
|
---|
923 | <A NAME="skip-navbar_bottom"></A>
|
---|
924 | <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
---|
925 |
|
---|
926 | <HR>
|
---|
927 | Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.
|
---|
928 | </BODY>
|
---|
929 | </HTML>
|
---|