|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgr.uoa.di.madgik.workflow.adaptor.utils.jdl.JDLParser
public class JDLParser
The JDLParser is an implementation of the IWorkflowParser that is capable of parsing a JDL description
that formulates a job or a DAG of jobs. Depending on the type of the JDL, the actual parsing is forwarded to the
two supporting parsers, JDLJobExtractor and JDLDAGExtractor.
| Field Summary | |
|---|---|
ParsedJDLInfo |
Internal
The information parsed |
| Constructor Summary | |
|---|---|
JDLParser()
|
|
| Method Summary | |
|---|---|
IParsedInfo |
GetParsedInfo()
Retrieves the information parsed. |
void |
Parse(File serialization)
Parses the string the workflow language that is contained in the provided file that the parser is implemented for |
void |
Parse(String serialization)
Parses the string serialization of the workflow language that the parser is implemented for |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public ParsedJDLInfo Internal
| Constructor Detail |
|---|
public JDLParser()
| Method Detail |
|---|
public void Parse(File serialization)
throws WorkflowSerializationException,
WorkflowValidationException
IWorkflowParser
Parse in interface IWorkflowParserserialization - The file containing the workflow description
WorkflowSerializationException - Problem with the serialization of the provided workflow
WorkflowValidationException - Problem with the validity of some element
public void Parse(String serialization)
throws WorkflowSerializationException,
WorkflowValidationException
IWorkflowParser
Parse in interface IWorkflowParserserialization - the serialization of the workflow in some language
WorkflowSerializationException - Problem with the serialization of the provided workflow
WorkflowValidationException - Problem with the validity of some elementpublic IParsedInfo GetParsedInfo()
IWorkflowParserIWorkflowParser.Parse(File) or IWorkflowParser.Parse(String)
GetParsedInfo in interface IWorkflowParser
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||