edu.isi.pegasus.planner.transfer.mapper.impl
public class Flat extends AbstractFileFactoryBasedMapper
| Modifier and Type | Field and Description |
|---|---|
private static String |
DESCRIPTION
Short description.
|
static String |
SHORT_NAME
The short name for the mapper
|
mFactory, mLogger, mOutputSite, mSiteStore, mStageoutDirectoryVERSION| Constructor and Description |
|---|
Flat()
The default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
createAndGetAddOn(String lfn,
String site,
boolean existing)
Returns the addOn part that is retrieved from the File Factory.
|
String |
description()
Returns a short description of the mapper.
|
String |
getShortName()
Returns the short name for the implementation class.
|
void |
initialize(PegasusBag bag,
ADag workflow)
Initializes the mappers.
|
org.griphyn.vdl.euryale.FileFactory |
instantiateFileFactory(PegasusBag bag,
ADag workflow)
Instantiates a Flat File Factory and returns it.
|
complainForStorageFileServer, constructURL, getErrorMessagePrefix, lookupStorageDirectory, map, map, mapAllpublic static final String SHORT_NAME
private static final String DESCRIPTION
public void initialize(PegasusBag bag, ADag workflow) throws MapperException
initialize in interface OutputMapperinitialize in class AbstractFileFactoryBasedMapperbag - the bag of objects that is useful for initialization.workflow - the workflow refined so far.MapperException - if unable to construct URL for any reasonpublic org.griphyn.vdl.euryale.FileFactory instantiateFileFactory(PegasusBag bag, ADag workflow)
instantiateFileFactory in class AbstractFileFactoryBasedMapperbag - the bag of objects that is useful for initialization.workflow - the workflow refined so far.public String createAndGetAddOn(String lfn, String site, boolean existing)
createAndGetAddOn in class AbstractFileFactoryBasedMapperlfn - the LFN to be usedsite - the site at which the LFN residesexisting - indicates whether to create a new location/placement for a file,
or rely on existing placement on the site.public String description()
public String getShortName()
getShortName in class AbstractFileFactoryBasedMapper