Class LoadAdditionalSourceTransformer

  • All Implemented Interfaces:
    SourceTransformer

    public class LoadAdditionalSourceTransformer
    extends Object
    implements SourceTransformer
    A SourceTransformer which loads other sources into the current source graph.
    Version:
    $Id: LoadAdditionalSourceTransformer.java 1839288 2018-08-27 09:48:33Z tv $
    • Constructor Detail

      • LoadAdditionalSourceTransformer

        public LoadAdditionalSourceTransformer()
    • Method Detail

      • getElement

        public String getElement()
        Returns the path to the source element to which the additional sources should be added.
        Returns:
        the path to the anchor element.
      • setElement

        public void setElement​(String element)
        Sets the path to the source element to which the additional sources should be added.
        Parameters:
        element - the path to the anchor element.
      • getFileIncludes

        public List<String> getFileIncludes()
        Returns the file patterns to include to the sources to read.
        Returns:
        the file patterns to include.
      • setFileIncludes

        public void setFileIncludes​(List<String> fileIncludes)
        Sets the file patterns to include to the sources to read.
        Parameters:
        fileIncludes - the file patterns to include.
      • getFileExcludes

        public List<String> getFileExcludes()
        Returns the file patterns to exclude from the sources to read.
        Returns:
        the file patterns to exclude.
      • setFileExcludes

        public void setFileExcludes​(List<String> fileExcludes)
        Sets the file patterns to exclude from the sources to read.
        Parameters:
        fileExcludes - the file patterns to exclude.
      • getSourceFormat

        public String getSourceFormat()
        Returns the key of the format of the source file(s).
        Returns:
        the key for the source format.
      • setSourceFormat

        public void setSourceFormat​(String sourceFormat)
        Sets the key of the source format of the source file(s).
        Parameters:
        sourceFormat - the key for the source format.