Package eu.dnetlib.apps.oai.service
Class CollectorService
java.lang.Object
eu.dnetlib.apps.oai.service.CollectorService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcleanCollectedData(String storageUrl) voidvoidgetCollectionInfo(String jobId) history(boolean includeExpired) voidoaiCollect(StorageClient sc, CollectionInfo info) startCollection(String baseUrl, String format, String setSpec, LocalDateTime from, LocalDateTime until, Long max, String notificationEmail)
-
Constructor Details
-
CollectorService
public CollectorService()
-
-
Method Details
-
startCollection
public CollectionInfo startCollection(String baseUrl, String format, String setSpec, LocalDateTime from, LocalDateTime until, Long max, String notificationEmail) -
oaiCollect
- Throws:
Exception
-
getCollectionInfo
-
cronCleanJobs
- Throws:
Exception
-
history
-
cleanCollectedData
- Throws:
URISyntaxException
-
forceExpired
public void forceExpired()
-