Class OAIHarvester

  • All Implemented Interfaces:
    org.gcube.data.publishing.gCatfeeder.collectors.CollectorPlugin<OAIRecord>

    public class OAIHarvester
    extends Object
    implements org.gcube.data.publishing.gCatfeeder.collectors.CollectorPlugin<OAIRecord>
    • Constructor Detail

      • OAIHarvester

        public OAIHarvester()
    • Method Detail

      • getDescriptor

        public org.gcube.data.publishing.gCatfeeder.collectors.model.PluginDescriptor getDescriptor()
        Specified by:
        getDescriptor in interface org.gcube.data.publishing.gCatfeeder.collectors.CollectorPlugin<OAIRecord>
      • getRetrieverByCatalogueType

        public org.gcube.data.publishing.gCatfeeder.collectors.CatalogueRetriever getRetrieverByCatalogueType​(String catalogueType)
                                                                                                       throws org.gcube.data.publishing.gCatfeeder.collectors.model.faults.CatalogueNotSupportedException
        Specified by:
        getRetrieverByCatalogueType in interface org.gcube.data.publishing.gCatfeeder.collectors.CollectorPlugin<OAIRecord>
        Throws:
        org.gcube.data.publishing.gCatfeeder.collectors.model.faults.CatalogueNotSupportedException
      • getSupportedCatalogueTypes

        public Set<String> getSupportedCatalogueTypes()
        Specified by:
        getSupportedCatalogueTypes in interface org.gcube.data.publishing.gCatfeeder.collectors.CollectorPlugin<OAIRecord>
      • getTransformerByCatalogueType

        public org.gcube.data.publishing.gCatfeeder.collectors.DataTransformer<? extends org.gcube.data.publishing.gCatFeeder.model.CatalogueFormatData,​OAIRecord> getTransformerByCatalogueType​(String catalogueType)
                                                                                                                                                                                                throws org.gcube.data.publishing.gCatfeeder.collectors.model.faults.CatalogueNotSupportedException
        Specified by:
        getTransformerByCatalogueType in interface org.gcube.data.publishing.gCatfeeder.collectors.CollectorPlugin<OAIRecord>
        Throws:
        org.gcube.data.publishing.gCatfeeder.collectors.model.faults.CatalogueNotSupportedException
      • getCollector

        public org.gcube.data.publishing.gCatfeeder.collectors.DataCollector<OAIRecord> getCollector()
        Specified by:
        getCollector in interface org.gcube.data.publishing.gCatfeeder.collectors.CollectorPlugin<OAIRecord>
      • getPublisherControllerConfiguration

        public org.gcube.data.publishing.gCatFeeder.model.ControllerConfiguration getPublisherControllerConfiguration​(String catalogueType)
                                                                                                               throws org.gcube.data.publishing.gCatfeeder.collectors.model.faults.CatalogueNotSupportedException
        Specified by:
        getPublisherControllerConfiguration in interface org.gcube.data.publishing.gCatfeeder.collectors.CollectorPlugin<OAIRecord>
        Throws:
        org.gcube.data.publishing.gCatfeeder.collectors.model.faults.CatalogueNotSupportedException
      • init

        public void init()
                  throws Exception
        Specified by:
        init in interface org.gcube.data.publishing.gCatfeeder.collectors.CollectorPlugin<OAIRecord>
        Throws:
        Exception
      • initInScope

        public void initInScope()
                         throws Exception
        Specified by:
        initInScope in interface org.gcube.data.publishing.gCatfeeder.collectors.CollectorPlugin<OAIRecord>
        Throws:
        Exception
      • setEnvironmentConfiguration

        public void setEnvironmentConfiguration​(org.gcube.data.publishing.gCatFeeder.model.EnvironmentConfiguration env)
        Specified by:
        setEnvironmentConfiguration in interface org.gcube.data.publishing.gCatfeeder.collectors.CollectorPlugin<OAIRecord>