|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gridbus.broker.jobdescription.Task
public class Task
Represents the task element of an XPML file.
| Field Summary | |
|---|---|
protected java.lang.String |
name
|
| Constructor Summary | |
|---|---|
Task()
Default constructor. |
|
Task(java.lang.String name)
Constructs a task with the given name. |
|
| 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. |
java.lang.Object |
clone()
|
int |
countCommands()
Counts the current number of commands for this task. |
java.util.List |
getCommands()
Gets the current set of commands for this task. |
java.lang.String |
getName()
Gets the task name. |
void |
setName(java.lang.String name)
Sets the task name. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String name
| Constructor Detail |
|---|
public Task()
public Task(java.lang.String name)
name - the name of the task.| Method Detail |
|---|
public void setName(java.lang.String name)
name - the name of the task.public java.lang.String getName()
public void addCommand(TaskCommand cmd)
cmd - the command to add.public java.util.List getCommands()
public void clearCommands()
public int countCommands()
public java.lang.Object clone()
clone in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectObject.toString()
|
Copyright © The University of Melbourne. 2006 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||