
package eu.dnetlib.dhp.collection.plugin;

import java.util.stream.Stream;

import eu.dnetlib.dhp.collection.ApiDescriptor;
import eu.dnetlib.dhp.common.aggregation.AggregatorReport;
import eu.dnetlib.dhp.common.collection.CollectorException;

public interface CollectorPlugin {

	enum NAME {
		oai, other, rest_json2xml, file, fileGzip;

		public enum OTHER_NAME {
			mdstore_mongodb_dump, mdstore_mongodb
		}

	}

	Stream<String> collect(ApiDescriptor api, AggregatorReport report) throws CollectorException;

}
