g-Eclipse
Release 1.0.0

eu.geclipse.servicejob.parsers
Class GTDLJobWriter

java.lang.Object
  extended by eu.geclipse.servicejob.parsers.GTDLJobWriter

public class GTDLJobWriter
extends java.lang.Object

GTDL writer for service jobs.


Field Summary
static java.lang.String SKELETON_LOCATION
          standard location
 
Constructor Summary
GTDLJobWriter()
           
 
Method Summary
static void addServiceJobResults(java.io.File file, java.util.List<SubmittableServiceJobResult> newResults)
          Adds a service job results from a list to specified file.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SKELETON_LOCATION

public static final java.lang.String SKELETON_LOCATION
standard location

See Also:
Constant Field Values
Constructor Detail

GTDLJobWriter

public GTDLJobWriter()
Method Detail

addServiceJobResults

public static void addServiceJobResults(java.io.File file,
                                        java.util.List<SubmittableServiceJobResult> newResults)
                                 throws javax.xml.parsers.ParserConfigurationException,
                                        org.xml.sax.SAXException,
                                        java.io.IOException,
                                        javax.xml.transform.TransformerFactoryConfigurationError,
                                        javax.xml.transform.TransformerException
Adds a service job results from a list to specified file. If there exists a service job with the same id, then a previous status entry of this job is overwritten with the new entry.

Parameters:
file - gtdl file
newResults - list of results to save
Throws:
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
java.io.IOException
javax.xml.transform.TransformerFactoryConfigurationError
javax.xml.transform.TransformerException

g-Eclipse
Release 1.0.0