Class CopyFilesProcessor

java.lang.Object
net.simplace.pipe.control.FWProcessor
net.simplace.pipe.processors.CopyFilesProcessor

public final class CopyFilesProcessor extends FWProcessor
Copies files from ${sourcedir} to ${targetdir}. ${overwrite} can be set true|false. ${filter_extensions} or ${filter_names}, both comma-seperated, can be used to filter the copied files.
Parameter Description
sourcedir Sourcedir files taken from
targetdir Target files put
overwrite (optional) Flag, default to false
modfilename (optional) Filename to modify the copied file. Use ${oldname} to reuse the old name
Author:
Andreas Enders
  • Constructor Details

    • CopyFilesProcessor

      public CopyFilesProcessor()
  • Method Details

    • process

      public boolean process() throws PipeLineException
      Must be overidden to implemnt concrete pipe procedure.
      Specified by:
      process in class FWProcessor
      Returns:
      success
      Throws:
      PipeLineException
    • checkInParameterMap

      protected boolean checkInParameterMap()
      Description copied from class: FWProcessor
      Can be overridden to perform semantic checks on the pipeline Input.
      Overrides:
      checkInParameterMap in class FWProcessor
      Returns:
      true if not overridden by implementations
    • checkOutParameterMap

      protected boolean checkOutParameterMap()
      Description copied from class: FWProcessor
      Can be overridden to perform semantic checks on the pipeline Input.
      Overrides:
      checkOutParameterMap in class FWProcessor
      Returns:
      true if not overridden