Class SnapshotRepoManifestReader

  • All Implemented Interfaces:
    org.springframework.batch.core.StepExecutionListener, org.springframework.batch.core.StepListener, org.springframework.batch.item.ItemReader<org.duracloud.snapshot.db.model.SnapshotContentItem>

    public class SnapshotRepoManifestReader
    extends StepExecutionSupport
    implements org.springframework.batch.item.ItemReader<org.duracloud.snapshot.db.model.SnapshotContentItem>
    Author:
    Daniel Bernstein Date: Jul 28, 2015
    • Constructor Detail

      • SnapshotRepoManifestReader

        public SnapshotRepoManifestReader​(org.duracloud.snapshot.db.repo.SnapshotContentItemRepo repo,
                                          String snapshotName)
    • Method Detail

      • read

        public org.duracloud.snapshot.db.model.SnapshotContentItem read()
                                                                 throws Exception,
                                                                        org.springframework.batch.item.UnexpectedInputException,
                                                                        org.springframework.batch.item.ParseException,
                                                                        org.springframework.batch.item.NonTransientResourceException
        Specified by:
        read in interface org.springframework.batch.item.ItemReader<org.duracloud.snapshot.db.model.SnapshotContentItem>
        Throws:
        Exception
        org.springframework.batch.item.UnexpectedInputException
        org.springframework.batch.item.ParseException
        org.springframework.batch.item.NonTransientResourceException