public class Stork extends Abstract
Modifier and Type | Field and Description |
---|---|
static String |
mEndSeparator
The nice end separator, define once, use often.
|
private LogManager |
mLogger
The LogManager object which is used to log all the messages.
|
static String |
mStartSeparator
The nice start separator, define once, use often.
|
mBag, mPOptions, mProps, mSubmitFileDir
VERSION
Constructor and Description |
---|
Stork()
The default constructor.
|
Modifier and Type | Method and Description |
---|---|
Collection<File> |
generateCode(ADag dag)
Generates the code for the concrete workflow in the input format of the
workflow executor being used.
|
void |
generateCode(ADag dag,
Job job)
Generates the code for a single job in the Stork format.
|
Map<String,String> |
getAdditionalBraindumpEntries(ADag workflow)
Returns an empty map
|
String |
getFileBaseName(Job job)
Returns the basename of the file to which the job is written to.
|
void |
initialize(PegasusBag bag)
Initializes the Code Generator implementation.
|
getDAGFilename, getDAGFilename, getWriter, reset, startMonitoring, writeOutBraindump, writeOutDAXReplicaStore, writeOutNotifications, writeOutStampedeEvents, writeOutWorkflowMetrics
public static final String mStartSeparator
public static final String mEndSeparator
private LogManager mLogger
public void initialize(PegasusBag bag) throws CodeGeneratorException
initialize
in interface CodeGenerator
initialize
in class Abstract
bag
- the bag of initialization objects.CodeGeneratorException
- in case of any error occuring code generation.public Collection<File> generateCode(ADag dag) throws CodeGeneratorException
dag
- the concrete workflow.CodeGeneratorException
- in case of any error occuring code generation.public void generateCode(ADag dag, Job job) throws CodeGeneratorException
dag
- the dag of which the job is a part of.job
- the Job
object holding the information about
that particular job.CodeGeneratorException
- in case of any error occuring code generation.public String getFileBaseName(Job job)
getFileBaseName
in class Abstract
job
- the job whose job information needs to be written.Copyright © 2011 The University of Southern California. All Rights Reserved.