Class ContentPropertiesWriter

  • All Implemented Interfaces:
    org.springframework.batch.core.ItemWriteListener<ContentProperties>, org.springframework.batch.core.StepExecutionListener, org.springframework.batch.core.StepListener, org.springframework.batch.item.ItemWriter<ContentProperties>

    public class ContentPropertiesWriter
    extends StepExecutionSupport
    implements org.springframework.batch.item.ItemWriter<ContentProperties>, org.springframework.batch.core.ItemWriteListener<ContentProperties>
    Author:
    Daniel Bernstein Date: Aug 22, 2014
    • Constructor Detail

      • ContentPropertiesWriter

        public ContentPropertiesWriter​(org.duracloud.client.ContentStore contentStore,
                                       String destinationSpaceId)
        Parameters:
        contentStore -
        destinationSpaceId -
    • Method Detail

      • afterStep

        public org.springframework.batch.core.ExitStatus afterStep​(org.springframework.batch.core.StepExecution stepExecution)
        Specified by:
        afterStep in interface org.springframework.batch.core.StepExecutionListener
        Overrides:
        afterStep in class StepExecutionSupport
      • afterWrite

        public void afterWrite​(List<? extends ContentProperties> items)
        Specified by:
        afterWrite in interface org.springframework.batch.core.ItemWriteListener<ContentProperties>
      • beforeWrite

        public void beforeWrite​(List<? extends ContentProperties> items)
        Specified by:
        beforeWrite in interface org.springframework.batch.core.ItemWriteListener<ContentProperties>