org.globus.cog.abstraction.xml
Class TaskGraph
java.lang.Object
org.globus.cog.abstraction.xml.TaskGraph
- All Implemented Interfaces:
- Serializable
- public class TaskGraph
- extends Object
- implements Serializable
- Version:
- $Revision: 1.1 $ $Date: 2005/04/22 09:53:24 $
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TaskGraph
public TaskGraph()
addTask
public void addTask(Task vTask)
throws IndexOutOfBoundsException
- Parameters:
vTask -
- Throws:
IndexOutOfBoundsException
addTaskGraph
public void addTaskGraph(TaskGraph vTaskGraph)
throws IndexOutOfBoundsException
- Parameters:
vTaskGraph -
- Throws:
IndexOutOfBoundsException
enumerateTask
public Enumeration enumerateTask()
enumerateTaskGraph
public Enumeration enumerateTaskGraph()
getAttributeList
public AttributeList getAttributeList()
getCompletedTime
public Date getCompletedTime()
getDependencyList
public DependencyList getDependencyList()
getFailureHandlingPolicy
public String getFailureHandlingPolicy()
getIdentity
public String getIdentity()
getName
public String getName()
getStatus
public String getStatus()
getSubmittedTime
public Date getSubmittedTime()
getTask
public Task getTask(int index)
throws IndexOutOfBoundsException
- Parameters:
index -
- Throws:
IndexOutOfBoundsException
getTask
public Task[] getTask()
getTaskCount
public int getTaskCount()
getTaskGraph
public TaskGraph getTaskGraph(int index)
throws IndexOutOfBoundsException
- Parameters:
index -
- Throws:
IndexOutOfBoundsException
getTaskGraph
public TaskGraph[] getTaskGraph()
getTaskGraphCount
public int getTaskGraphCount()
isValid
public boolean isValid()
marshal
public void marshal(Writer out)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
- Parameters:
out -
- Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
marshal
public void marshal(DocumentHandler handler)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
- Parameters:
handler -
- Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
removeAllTask
public void removeAllTask()
removeAllTaskGraph
public void removeAllTaskGraph()
removeTask
public Task removeTask(int index)
- Parameters:
index -
removeTaskGraph
public TaskGraph removeTaskGraph(int index)
- Parameters:
index -
setAttributeList
public void setAttributeList(AttributeList attributeList)
- Parameters:
attributeList -
setCompletedTime
public void setCompletedTime(Date completedTime)
- Parameters:
completedTime -
setDependencyList
public void setDependencyList(DependencyList dependencyList)
- Parameters:
dependencyList -
setFailureHandlingPolicy
public void setFailureHandlingPolicy(String failureHandlingPolicy)
- Parameters:
failureHandlingPolicy -
setIdentity
public void setIdentity(String identity)
- Parameters:
identity -
setName
public void setName(String name)
- Parameters:
name -
setStatus
public void setStatus(String status)
- Parameters:
status -
setSubmittedTime
public void setSubmittedTime(Date submittedTime)
- Parameters:
submittedTime -
setTask
public void setTask(int index,
Task vTask)
throws IndexOutOfBoundsException
- Parameters:
index - vTask -
- Throws:
IndexOutOfBoundsException
setTask
public void setTask(Task[] taskArray)
- Parameters:
taskArray -
setTaskGraph
public void setTaskGraph(int index,
TaskGraph vTaskGraph)
throws IndexOutOfBoundsException
- Parameters:
index - vTaskGraph -
- Throws:
IndexOutOfBoundsException
setTaskGraph
public void setTaskGraph(TaskGraph[] taskGraphArray)
- Parameters:
taskGraphArray -
unmarshal
public static TaskGraph unmarshal(Reader reader)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
- Parameters:
reader -
- Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
validate
public void validate()
throws org.exolab.castor.xml.ValidationException
- Throws:
org.exolab.castor.xml.ValidationException