|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gridbus.broker.runfile.Task
public class Task
Represents the task element of a run file.
| Constructor Summary | |
|---|---|
Task()
Default constructor. |
|
Task(java.lang.String name)
Constructs a task with the given type. |
|
| Method Summary | |
|---|---|
void |
addCommand(TaskCommand cmd)
Adds a Task Command (run file command) to this Task. |
void |
clearCommands()
Clears the current set of commands for this task. |
int |
countCommands()
Counts the current number of commands for this task. |
java.util.Vector |
getCommands()
Gets the current set of commands for this task. |
Task |
getPostProcessTask()
|
java.lang.String |
getType()
Gets the task type. |
void |
setPostProcessTask(Task task)
|
void |
setType(java.lang.String name)
Sets the task type. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Task()
public Task(java.lang.String name)
name - the type of the task.| Method Detail |
|---|
public void setType(java.lang.String name)
name - the type of the task.public java.lang.String getType()
public void addCommand(TaskCommand cmd)
cmd - the command to add.public java.util.Vector getCommands()
public void clearCommands()
public int countCommands()
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public void setPostProcessTask(Task task)
task - public Task getPostProcessTask()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||