public class Minimal extends AbstractStrategy
CREATE_DIR_PREFIX, CREATE_DIR_SUFFIX, mImpl, mJobPrefix, mLogger, mSiteStore, mUseMkdir| Constructor and Description |
|---|
Minimal() |
| Modifier and Type | Method and Description |
|---|---|
ADag |
addCreateDirectoryNodes(ADag dag)
Modifies the workflow to add create directory nodes.
|
ADag |
addCreateDirectoryNodes(ADag workflow,
java.util.Set<java.lang.String> sites)
Adds create dir nodes to the workflow.
|
boolean |
addDependency(Job job) |
private java.lang.String |
getAssociatedCreateDirSite(Job job)
Returns the associated site that job is dependant on.
|
void |
initialize(PegasusBag bag,
Implementation impl)
Intializes the class.
|
getCreateDirJobName, getCreateDirSitespublic void initialize(PegasusBag bag, Implementation impl)
initialize in interface Strategyinitialize in class AbstractStrategybag - bag of initialization objectsimpl - the implementation instance that creates create dir jobpublic ADag addCreateDirectoryNodes(ADag dag)
dag - the workflow to which the nodes have to be added.public ADag addCreateDirectoryNodes(ADag workflow, java.util.Set<java.lang.String> sites)
workflow - the workflowsites - the staging sites the workflow refers to.private java.lang.String getAssociatedCreateDirSite(Job job)
job - the job for which we need the associated create dir site.public boolean addDependency(Job job)