|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object and.Mapping.GTask
public class GTask
Class representing an application task
Constructor Summary | |
---|---|
GTask()
Default constructor. |
|
GTask(int _n)
Constructor. |
Method Summary | |
---|---|
void |
addDependance(java.util.ArrayList<GTask> at)
Add a dependencies list to the task. |
void |
addDependance(GTask _t)
Add a dependency to the task. |
java.util.ArrayList<GTask> |
getDependencies()
Return the task's dependencies list. |
int |
getNbDep()
Return the amount of dependencies of the task. |
int |
getNum()
Return the task's number. |
int |
getWeight()
Return the task's weight. |
java.lang.String |
printDep()
Return the task's dependencies list in a text form. |
void |
setWeight(int _p)
Define the task's computing weight. |
java.lang.String |
toString()
Return the task's number in a string. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GTask()
public GTask(int _n)
_n
- Task numberMethod Detail |
---|
public void addDependance(GTask _t)
_t
- Dependency taskpublic java.lang.String toString()
toString
in class java.lang.Object
public void addDependance(java.util.ArrayList<GTask> at)
at
- The dependencies listpublic void setWeight(int _p)
_p
- The computing weightpublic int getWeight()
public java.util.ArrayList<GTask> getDependencies()
public int getNum()
public int getNbDep()
public java.lang.String printDep()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |