Interface ImportSource

    • Method Detail

      • getFiles

        Iterable<ImportSource.IRepositoryFileBundle> getFiles()
                                                       throws IOException
        Returns the set of files available by this Import Source.

        NOTE: the Iterable object MUST support the Iterator.remove() method as the consumer of this information will be iterating over the data and will remove items that they process (and shouldn't be processed by down-stream consumers)
        Throws:
        IOException - indicates an error getting the files
      • getCount

        int getCount()
        Returns the number of files to process (or -1 if that is not known)