|
g-Eclipse Release 1.0.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecteu.geclipse.servicejob.parsers.GTDLJobParser
public class GTDLJobParser
General parser for the service job status file.
| Field Summary | |
|---|---|
static java.lang.String |
OUTPUT_RESULT_DATA
XML node - result data |
static java.lang.String |
OUTPUT_RESULT_DATE
XML node - date |
static java.lang.String |
OUTPUT_RESULT_ELEMENT
XML node - result |
static java.lang.String |
OUTPUT_RESULT_ENUM
XML node - bes status |
static java.lang.String |
OUTPUT_RESULT_RESOURCE
XML node - resource |
static java.lang.String |
OUTPUT_RESULT_SERVICE_JOB
XML node - simple service job name |
static java.lang.String |
OUTPUT_RESULT_SUMMARY
XML node - summary |
static java.lang.String |
OUTPUT_RESULT_TYPE
result type |
static java.lang.String |
SCHEMA_LOCATION
Path to location of the XML schema |
| Constructor Summary | |
|---|---|
GTDLJobParser()
|
|
| Method Summary | |
|---|---|
static java.util.List<SubmittableServiceJobResult> |
getServiceJobResults(java.io.File file)
Parses GTDL (grid test description language) file for service job results. |
static java.util.List<java.lang.String> |
parseGeneralPartForResources(java.io.InputStream stream)
Method to parse part of XML file in which resources are described for this service job. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String SCHEMA_LOCATION
public static final java.lang.String OUTPUT_RESULT_ELEMENT
public static final java.lang.String OUTPUT_RESULT_RESOURCE
public static final java.lang.String OUTPUT_RESULT_DATE
public static final java.lang.String OUTPUT_RESULT_SERVICE_JOB
public static final java.lang.String OUTPUT_RESULT_DATA
public static final java.lang.String OUTPUT_RESULT_SUMMARY
public static final java.lang.String OUTPUT_RESULT_ENUM
public static final java.lang.String OUTPUT_RESULT_TYPE
| Constructor Detail |
|---|
public GTDLJobParser()
| Method Detail |
|---|
public static java.util.List<SubmittableServiceJobResult> getServiceJobResults(java.io.File file)
throws javax.xml.parsers.ParserConfigurationException,
org.xml.sax.SAXException,
java.io.IOException,
org.w3c.dom.DOMException,
java.text.ParseException
ServiceJobResult - which means that they have String
taken directly from XML as a service job's result. Only plug-in calling
this method knows what to do with this String (available also as a
InputStream -
IServiceJob.getInputStreamForResult(IServiceJobResult)). This all
means that data returned by this method has to modified by plug-in that
called this method!
file - XML file (GTDL).
ServiceJobResult representing data in XML file.
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
java.io.IOException
org.w3c.dom.DOMException
java.text.ParseExceptionpublic static java.util.List<java.lang.String> parseGeneralPartForResources(java.io.InputStream stream)
stream - Input stream of XML to parse.
|
g-Eclipse Release 1.0.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||