public class TaskSet
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
boolean |
hasChecked
the check point.
|
| Constructor and Description |
|---|
TaskSet()
Initialize a TaskSet object
|
| Modifier and Type | Method and Description |
|---|---|
void |
addTask(java.util.ArrayList<Task> list)
Adds a list of task to this taskSet
|
void |
addTask(Task task)
Adds a task to this taskSet
|
java.util.ArrayList<TaskSet> |
getChildList()
Gets the child list
|
double |
getImpactFactor()
Gets the impact factor
|
long |
getJobRuntime()
Gets the job runtime of this taskSet (sum of task runtime)
|
java.util.ArrayList<TaskSet> |
getParentList()
Gets the parent list
|
java.util.ArrayList<Task> |
getTaskList()
Gets task list
|
void |
setImpactFafctor(double factor)
Sets the impact factor
|
public double getImpactFactor()
public void setImpactFafctor(double factor)
factor - the impact factorpublic java.util.ArrayList<TaskSet> getParentList()
public java.util.ArrayList<TaskSet> getChildList()
public java.util.ArrayList<Task> getTaskList()
public void addTask(Task task)
task - to be addedpublic void addTask(java.util.ArrayList<Task> list)
list - to be addedpublic long getJobRuntime()