Class SnapshotRepoManifestReader
- java.lang.Object
-
- org.duracloud.snapshot.service.impl.StepExecutionSupport
-
- org.duracloud.snapshot.service.impl.SnapshotRepoManifestReader
-
- All Implemented Interfaces:
org.springframework.batch.core.StepExecutionListener,org.springframework.batch.core.StepListener,org.springframework.batch.item.ItemReader<SnapshotContentItem>
public class SnapshotRepoManifestReader extends StepExecutionSupport implements org.springframework.batch.item.ItemReader<SnapshotContentItem>
- Author:
- Daniel Bernstein Date: Jul 28, 2015
-
-
Field Summary
-
Fields inherited from class org.duracloud.snapshot.service.impl.StepExecutionSupport
ERRORS_KEY, ITEMS_READ_KEY
-
-
Constructor Summary
Constructors Constructor Description SnapshotRepoManifestReader(SnapshotContentItemRepo repo, java.lang.String snapshotName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SnapshotContentItemread()-
Methods inherited from class org.duracloud.snapshot.service.impl.StepExecutionSupport
addError, addToItemsRead, addToLong, afterStep, beforeStep, clearErrors, failExecution, getErrors, getExecutionContext, getItemsRead, getLongValue, getStepExecution, resetContextState, setIsTest, skipLinesAlreadyRead, verifySpace
-
-
-
-
Constructor Detail
-
SnapshotRepoManifestReader
public SnapshotRepoManifestReader(SnapshotContentItemRepo repo, java.lang.String snapshotName)
-
-
Method Detail
-
read
public SnapshotContentItem read() throws java.lang.Exception, org.springframework.batch.item.UnexpectedInputException, org.springframework.batch.item.ParseException, org.springframework.batch.item.NonTransientResourceException
- Specified by:
readin interfaceorg.springframework.batch.item.ItemReader<SnapshotContentItem>- Throws:
java.lang.Exceptionorg.springframework.batch.item.UnexpectedInputExceptionorg.springframework.batch.item.ParseExceptionorg.springframework.batch.item.NonTransientResourceException
-
-