Class DAG


  • public class DAG
    extends AbstractJob
    DAG Class to hold the DAG job object.
    Version:
    $Revision$
    Author:
    Gaurang Mehta gmehta at isi dot edu
    See Also:
    AbstractJob
    • Constructor Detail

      • DAG

        public DAG​(java.lang.String id,
                   java.lang.String dagname)
        Create a DAG object
        Parameters:
        id - The unique id of the DAG job object. Must be of type [A-Za-z][-A-Za-z0-9_]*
        dagname - The dag file to submit
      • DAG

        public DAG​(DAG dag)
        Copy Constructor
        Parameters:
        dag - dag
      • DAG

        public DAG​(java.lang.String id,
                   java.lang.String dagname,
                   java.lang.String label)
        Create a DAG object
        Parameters:
        id - The unique id of the DAG job object. Must be of type [A-Za-z][-A-Za-z0-9_]*
        dagname - The dag file to submit
        label - The label for this job.
    • Method Detail

      • isDAG

        public boolean isDAG()
        Is this Object a DAG
        Overrides:
        isDAG in class AbstractJob
        Returns:
        boolean
      • toXML

        public void toXML​(edu.isi.pegasus.common.util.XMLWriter writer,
                          int indent)
        Overrides:
        toXML in class AbstractJob
        Parameters:
        writer - the xml writer
        indent - indentation