org.globus.cog.abstraction.xml
Class TaskGraph

java.lang.Object
  extended byorg.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

Constructor Summary
TaskGraph()
           
 
Method Summary
 void addTask(Task vTask)
           
 void addTaskGraph(TaskGraph vTaskGraph)
           
 Enumeration enumerateTask()
           
 Enumeration enumerateTaskGraph()
           
 AttributeList getAttributeList()
           
 Date getCompletedTime()
           
 DependencyList getDependencyList()
           
 String getFailureHandlingPolicy()
           
 String getIdentity()
           
 String getName()
           
 String getStatus()
           
 Date getSubmittedTime()
           
 Task[] getTask()
           
 Task getTask(int index)
           
 int getTaskCount()
           
 TaskGraph[] getTaskGraph()
           
 TaskGraph getTaskGraph(int index)
           
 int getTaskGraphCount()
           
 boolean isValid()
           
 void marshal(DocumentHandler handler)
           
 void marshal(Writer out)
           
 void removeAllTask()
           
 void removeAllTaskGraph()
           
 Task removeTask(int index)
           
 TaskGraph removeTaskGraph(int index)
           
 void setAttributeList(AttributeList attributeList)
           
 void setCompletedTime(Date completedTime)
           
 void setDependencyList(DependencyList dependencyList)
           
 void setFailureHandlingPolicy(String failureHandlingPolicy)
           
 void setIdentity(String identity)
           
 void setName(String name)
           
 void setStatus(String status)
           
 void setSubmittedTime(Date submittedTime)
           
 void setTask(int index, Task vTask)
           
 void setTask(Task[] taskArray)
           
 void setTaskGraph(int index, TaskGraph vTaskGraph)
           
 void setTaskGraph(TaskGraph[] taskGraphArray)
           
static TaskGraph unmarshal(Reader reader)
           
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TaskGraph

public TaskGraph()
Method Detail

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