All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.annot8.api.components.Source Maven / Gradle / Ivy

There is a newer version: 1.2
Show newest version
/* Annot8 (annot8.io) - Licensed under Apache-2.0. */
package io.annot8.api.components;

import io.annot8.api.components.responses.SourceResponse;
import io.annot8.api.data.ItemFactory;

/**
 * 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. */ public interface Source extends Annot8Component { /** * Read from the data source and return new items if found * * @param itemFactory factory used to create new items * @return status response */ SourceResponse read(ItemFactory itemFactory); }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy