Class Flat

    • Field Detail

      • SHORT_NAME

        public static final java.lang.String SHORT_NAME
        The short name for the mapper
        See Also:
        Constant Field Values
      • DESCRIPTION

        private static final java.lang.String DESCRIPTION
        Short description.
        See Also:
        Constant Field Values
    • Constructor Detail

      • Flat

        public Flat()
        The default constructor.
    • Method Detail

      • instantiateFileFactory

        public org.griphyn.vdl.euryale.FileFactory instantiateFileFactory​(PegasusBag bag,
                                                                          ADag workflow)
        Instantiates a Flat File Factory and returns it.
        Specified by:
        instantiateFileFactory in class AbstractFileFactoryBasedMapper
        Parameters:
        bag - the bag of objects that is useful for initialization.
        workflow - the workflow refined so far.
        Returns:
        the handle to the File Factory to use
      • createAndGetAddOn

        public java.lang.String createAndGetAddOn​(java.lang.String lfn,
                                                  java.lang.String site,
                                                  boolean existing)
        Returns the addOn part that is retrieved from the File Factory. It creates a new file in the factory for the LFN and returns it.
        Specified by:
        createAndGetAddOn in class AbstractFileFactoryBasedMapper
        Parameters:
        lfn - the LFN to be used
        site - the site at which the LFN resides
        existing - indicates whether to create a new location/placement for a file, or rely on existing placement on the site.
        Returns:
      • description

        public java.lang.String description()
        Returns a short description of the mapper.
        Returns: