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, mStageoutDirectory
VERSION
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, mapAll
public static final String SHORT_NAME
private static final String DESCRIPTION
public void initialize(PegasusBag bag, ADag workflow) throws MapperException
initialize
in interface OutputMapper
initialize
in class AbstractFileFactoryBasedMapper
bag
- 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 AbstractFileFactoryBasedMapper
bag
- 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 AbstractFileFactoryBasedMapper
lfn
- 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