1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
5 <!-- Generated by javadoc (build 1.6.0_0) on Tue Feb 02 14:44:19 CET 2010 -->
10 <META NAME="date" CONTENT="2010-02-02">
12 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style">
14 <SCRIPT type="text/javascript">
15 function windowTitle()
17 if (location.href.indexOf('is-external=true') == -1) {
18 parent.document.title="GTask";
27 <BODY BGCOLOR="white" onload="windowTitle();">
31 <!-- ========= START OF TOP NAVBAR ======= -->
32 <A NAME="navbar_top"><!-- --></A>
33 <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
34 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
36 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
37 <A NAME="navbar_top_firstrow"><!-- --></A>
38 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
39 <TR ALIGN="center" VALIGN="top">
40 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../and/Mapping/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
41 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
42 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/GTask.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
43 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
44 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
45 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
46 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
50 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
56 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
57 <A HREF="../../and/Mapping/Grid.html" title="class in and.Mapping"><B>PREV CLASS</B></A>
58 <A HREF="../../and/Mapping/LSM.html" title="class in and.Mapping"><B>NEXT CLASS</B></A></FONT></TD>
59 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
60 <A HREF="../../index.html?and/Mapping/GTask.html" target="_top"><B>FRAMES</B></A>
61 <A HREF="GTask.html" target="_top"><B>NO FRAMES</B></A>
62 <SCRIPT type="text/javascript">
65 document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
70 <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
77 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
78 SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
79 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
80 DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
83 <A NAME="skip-navbar_top"></A>
84 <!-- ========= END OF TOP NAVBAR ========= -->
87 <!-- ======== START OF CLASS DATA ======== -->
95 <IMG SRC="../../resources/inherit.gif" ALT="extended by "><B>and.Mapping.GTask</B>
98 <DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable</DD>
102 <DT><PRE>public class <B>GTask</B><DT>extends java.lang.Object<DT>implements java.io.Serializable</DL>
106 Class representing an application task
111 <DT><B>Author:</B></DT>
112 <DD>Sébastien Miquée</DD>
113 <DT><B>See Also:</B><DD><A HREF="../../serialized-form.html#and.Mapping.GTask">Serialized Form</A></DL>
118 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
120 <A NAME="constructor_summary"><!-- --></A>
121 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
122 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
123 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
124 <B>Constructor Summary</B></FONT></TH>
126 <TR BGCOLOR="white" CLASS="TableRowColor">
127 <TD><CODE><B><A HREF="../../and/Mapping/GTask.html#GTask()">GTask</A></B>()</CODE>
130 Default constructor.</TD>
132 <TR BGCOLOR="white" CLASS="TableRowColor">
133 <TD><CODE><B><A HREF="../../and/Mapping/GTask.html#GTask(int)">GTask</A></B>(int _n)</CODE>
136 Constructor.</TD>
140 <!-- ========== METHOD SUMMARY =========== -->
142 <A NAME="method_summary"><!-- --></A>
143 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
144 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
145 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
146 <B>Method Summary</B></FONT></TH>
148 <TR BGCOLOR="white" CLASS="TableRowColor">
149 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
150 <CODE> void</CODE></FONT></TD>
151 <TD><CODE><B><A HREF="../../and/Mapping/GTask.html#addDependance(java.util.ArrayList)">addDependance</A></B>(java.util.ArrayList<<A HREF="../../and/Mapping/GTask.html" title="class in and.Mapping">GTask</A>> at)</CODE>
154 Add a dependencies list to the task.</TD>
156 <TR BGCOLOR="white" CLASS="TableRowColor">
157 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
158 <CODE> void</CODE></FONT></TD>
159 <TD><CODE><B><A HREF="../../and/Mapping/GTask.html#addDependance(and.Mapping.GTask)">addDependance</A></B>(<A HREF="../../and/Mapping/GTask.html" title="class in and.Mapping">GTask</A> _t)</CODE>
162 Add a dependency to the task.</TD>
164 <TR BGCOLOR="white" CLASS="TableRowColor">
165 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
166 <CODE> java.util.ArrayList<<A HREF="../../and/Mapping/GTask.html" title="class in and.Mapping">GTask</A>></CODE></FONT></TD>
167 <TD><CODE><B><A HREF="../../and/Mapping/GTask.html#getDependencies()">getDependencies</A></B>()</CODE>
170 Return the task's dependencies list.</TD>
172 <TR BGCOLOR="white" CLASS="TableRowColor">
173 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
174 <CODE> int</CODE></FONT></TD>
175 <TD><CODE><B><A HREF="../../and/Mapping/GTask.html#getNbDep()">getNbDep</A></B>()</CODE>
178 Return the amount of dependencies of the task.</TD>
180 <TR BGCOLOR="white" CLASS="TableRowColor">
181 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
182 <CODE> int</CODE></FONT></TD>
183 <TD><CODE><B><A HREF="../../and/Mapping/GTask.html#getNum()">getNum</A></B>()</CODE>
186 Return the task's number.</TD>
188 <TR BGCOLOR="white" CLASS="TableRowColor">
189 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
190 <CODE> int</CODE></FONT></TD>
191 <TD><CODE><B><A HREF="../../and/Mapping/GTask.html#getWeight()">getWeight</A></B>()</CODE>
194 Return the task's weight.</TD>
196 <TR BGCOLOR="white" CLASS="TableRowColor">
197 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
198 <CODE> java.lang.String</CODE></FONT></TD>
199 <TD><CODE><B><A HREF="../../and/Mapping/GTask.html#printDep()">printDep</A></B>()</CODE>
202 Return the task's dependencies list in a text form.</TD>
204 <TR BGCOLOR="white" CLASS="TableRowColor">
205 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
206 <CODE> void</CODE></FONT></TD>
207 <TD><CODE><B><A HREF="../../and/Mapping/GTask.html#setWeight(int)">setWeight</A></B>(int _p)</CODE>
210 Define the task's computing weight.</TD>
212 <TR BGCOLOR="white" CLASS="TableRowColor">
213 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
214 <CODE> java.lang.String</CODE></FONT></TD>
215 <TD><CODE><B><A HREF="../../and/Mapping/GTask.html#toString()">toString</A></B>()</CODE>
218 Return the task's number in a string.</TD>
221 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
222 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
223 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
224 <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
226 <TR BGCOLOR="white" CLASS="TableRowColor">
227 <TD><CODE>equals, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
233 <!-- ========= CONSTRUCTOR DETAIL ======== -->
235 <A NAME="constructor_detail"><!-- --></A>
236 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
237 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
238 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
239 <B>Constructor Detail</B></FONT></TH>
243 <A NAME="GTask()"><!-- --></A><H3>
246 public <B>GTask</B>()</PRE>
248 <DD>Default constructor.
253 <A NAME="GTask(int)"><!-- --></A><H3>
256 public <B>GTask</B>(int _n)</PRE>
261 <DT><B>Parameters:</B><DD><CODE>_n</CODE> - Task number</DL>
264 <!-- ============ METHOD DETAIL ========== -->
266 <A NAME="method_detail"><!-- --></A>
267 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
268 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
269 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
270 <B>Method Detail</B></FONT></TH>
274 <A NAME="addDependance(and.Mapping.GTask)"><!-- --></A><H3>
277 public void <B>addDependance</B>(<A HREF="../../and/Mapping/GTask.html" title="class in and.Mapping">GTask</A> _t)</PRE>
279 <DD>Add a dependency to the task.
285 <DT><B>Parameters:</B><DD><CODE>_t</CODE> - Dependency task</DL>
290 <A NAME="toString()"><!-- --></A><H3>
293 public java.lang.String <B>toString</B>()</PRE>
295 <DD>Return the task's number in a string.
298 <DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL>
302 <DT><B>Returns:</B><DD>A String containing the task's number</DL>
307 <A NAME="addDependance(java.util.ArrayList)"><!-- --></A><H3>
310 public void <B>addDependance</B>(java.util.ArrayList<<A HREF="../../and/Mapping/GTask.html" title="class in and.Mapping">GTask</A>> at)</PRE>
312 <DD>Add a dependencies list to the task.
318 <DT><B>Parameters:</B><DD><CODE>at</CODE> - The dependencies list</DL>
323 <A NAME="setWeight(int)"><!-- --></A><H3>
326 public void <B>setWeight</B>(int _p)</PRE>
328 <DD>Define the task's computing weight.
334 <DT><B>Parameters:</B><DD><CODE>_p</CODE> - The computing weight</DL>
339 <A NAME="getWeight()"><!-- --></A><H3>
342 public int <B>getWeight</B>()</PRE>
344 <DD>Return the task's weight.
351 <DT><B>Returns:</B><DD>The task's weight</DL>
356 <A NAME="getDependencies()"><!-- --></A><H3>
359 public java.util.ArrayList<<A HREF="../../and/Mapping/GTask.html" title="class in and.Mapping">GTask</A>> <B>getDependencies</B>()</PRE>
361 <DD>Return the task's dependencies list.
368 <DT><B>Returns:</B><DD>The dependencies list</DL>
373 <A NAME="getNum()"><!-- --></A><H3>
376 public int <B>getNum</B>()</PRE>
378 <DD>Return the task's number.
385 <DT><B>Returns:</B><DD>The task's number</DL>
390 <A NAME="getNbDep()"><!-- --></A><H3>
393 public int <B>getNbDep</B>()</PRE>
395 <DD>Return the amount of dependencies of the task.
402 <DT><B>Returns:</B><DD>The amount of dependencies</DL>
407 <A NAME="printDep()"><!-- --></A><H3>
410 public java.lang.String <B>printDep</B>()</PRE>
412 <DD>Return the task's dependencies list in a text form.
419 <DT><B>Returns:</B><DD>The String containing the dependencies list</DL>
422 <!-- ========= END OF CLASS DATA ========= -->
426 <!-- ======= START OF BOTTOM NAVBAR ====== -->
427 <A NAME="navbar_bottom"><!-- --></A>
428 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
429 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
431 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
432 <A NAME="navbar_bottom_firstrow"><!-- --></A>
433 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
434 <TR ALIGN="center" VALIGN="top">
435 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../and/Mapping/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
436 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
437 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/GTask.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
438 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
439 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
440 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
441 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
445 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
451 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
452 <A HREF="../../and/Mapping/Grid.html" title="class in and.Mapping"><B>PREV CLASS</B></A>
453 <A HREF="../../and/Mapping/LSM.html" title="class in and.Mapping"><B>NEXT CLASS</B></A></FONT></TD>
454 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
455 <A HREF="../../index.html?and/Mapping/GTask.html" target="_top"><B>FRAMES</B></A>
456 <A HREF="GTask.html" target="_top"><B>NO FRAMES</B></A>
457 <SCRIPT type="text/javascript">
460 document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
465 <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
472 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
473 SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
474 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
475 DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
478 <A NAME="skip-navbar_bottom"></A>
479 <!-- ======== END OF BOTTOM NAVBAR ======= -->