| java.lang.Object org.griphyn.cPlanner.code.generator.Abstract org.griphyn.cPlanner.code.generator.Stork
Stork | public class Stork extends Abstract (Code) | | This implementation generates files that can be understood by Stork.
author: Karan Vahi version: $Revision: 462 $ |
Constructor Summary | |
public | Stork() The default constructor. |
Method Summary | |
public void | generateCode(ADag dag) Generates the code for the concrete workflow in the input format of the
workflow executor being used. | public void | generateCode(ADag dag, SubInfo job) Generates the code for a single job in the Stork format. | public String | getFileBaseName(SubInfo job) Returns the basename of the file to which the job is written to.
Parameters: job - the job whose job information needs to be written. | public void | initialize(PegasusBag bag) Initializes the Code Generator implementation. |
mEndSeparator | final public static String mEndSeparator(Code) | | The nice end separator, define once, use often.
|
mStartSeparator | final public static String mStartSeparator(Code) | | The nice start separator, define once, use often.
|
Stork | public Stork()(Code) | | The default constructor.
|
generateCode | public void generateCode(ADag dag) throws CodeGeneratorException(Code) | | Generates the code for the concrete workflow in the input format of the
workflow executor being used. The method is not yet implemented.
Parameters: dag - the concrete workflow. throws: CodeGeneratorException - in case of any error occuring code generation. |
generateCode | public void generateCode(ADag dag, SubInfo job) throws CodeGeneratorException(Code) | | Generates the code for a single job in the Stork format.
Parameters: dag - the dag of which the job is a part of. Parameters: job - the SubInfo object holding the information aboutthat particular job. throws: CodeGeneratorException - in case of any error occuring code generation. |
getFileBaseName | public String getFileBaseName(SubInfo job)(Code) | | Returns the basename of the file to which the job is written to.
Parameters: job - the job whose job information needs to be written. the basename of the file. |
|
|