Class FileSource

java.lang.Object
org.apache.sling.feature.maven.mojos.apis.FileSource
All Implemented Interfaces:
Source

public class FileSource extends Object implements Source
  • Constructor Details

    • FileSource

      public FileSource(File directory, File file)
  • Method Details

    • getBaseDirectory

      public File getBaseDirectory()
      Description copied from interface: Source
      The base directory - all files are in the directory sub tree of this directory
      Specified by:
      getBaseDirectory in interface Source
      Returns:
      The base directory
    • getFiles

      public List<File> getFiles()
      Description copied from interface: Source
      The list of files
      Specified by:
      getFiles in interface Source
      Returns:
      The list of files