Interface Source

  • All Superinterfaces:
    Annot8Component, AutoCloseable

    public interface Source
    extends Annot8Component
    Base processor interface from which all sources extend.

    Sources read data from somewhere (e.g. a file system, or a database) and produce items that will be processed by other components.

    • Method Detail

      • read

        SourceResponse read​(ItemFactory itemFactory)
        Read from the data source and return new items if found
        Parameters:
        itemFactory - factory used to create new items
        Returns:
        status response