Class MergeFileMapper

  • All Implemented Interfaces:
    FileMapper

    public class MergeFileMapper
    extends AbstractFileMapper
    A file mapper, which maps to a constant target name.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String ROLE_HINT
      The merge mappers role-hint: "merge".
      private java.lang.String targetName  
    • Constructor Summary

      Constructors 
      Constructor Description
      MergeFileMapper()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getMappedFileName​(java.lang.String pName)
      Checks the input and returns it without modifications.
      java.lang.String getTargetName()
      Returns the merge mappers target name.
      void setTargetName​(java.lang.String pName)
      Sets the merge mappers target name.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • ROLE_HINT

        public static final java.lang.String ROLE_HINT
        The merge mappers role-hint: "merge".
        See Also:
        Constant Field Values
      • targetName

        private java.lang.String targetName
    • Constructor Detail

      • MergeFileMapper

        public MergeFileMapper()
    • Method Detail

      • setTargetName

        public void setTargetName​(java.lang.String pName)
        Sets the merge mappers target name.
        Throws:
        java.lang.IllegalArgumentException - The target name is null or empty.
      • getTargetName

        public java.lang.String getTargetName()
        Returns the merge mappers target name.
        Throws:
        java.lang.IllegalArgumentException - The target name is null or empty.