Package org.springframework.cloud.task.batch.autoconfigure.flatfile

# Class FlatFileItemWriterAutoConfiguration

java.lang.Object
org.springframework.cloud.task.batch.autoconfigure.flatfile.FlatFileItemWriterAutoConfiguration

@Configuration(proxyBeanMethods=false) @EnableConfigurationProperties(FlatFileItemWriterProperties.class) @AutoConfigureAfter(org.springframework.boot.autoconfigure.batch.BatchAutoConfiguration.class) public class FlatFileItemWriterAutoConfiguration extends Object
Autoconfiguration for a `FlatFileItemWriter`.

Since:
  2.3
Author:
  Michael Minella

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Class
  Description
  `static class`
  `FlatFileItemWriterAutoConfiguration.MapFieldExtractor`
  A `FieldExtractor` that converts a `Map<String, Object>` to the ordered `Object[]` required to populate an output record.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `FlatFileItemWriterAutoConfiguration(FlatFileItemWriterProperties properties)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `org.springframework.batch.item.file.FlatFileItemWriter<Map<String,Object>>`
  `itemWriter()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### FlatFileItemWriterAutoConfiguration

    public FlatFileItemWriterAutoConfiguration(FlatFileItemWriterProperties properties)

- ## Method Details

  - ### itemWriter

    @Bean @ConditionalOnMissingBean @ConditionalOnProperty(prefix="spring.batch.job.flatfileitemwriter", name="name") public org.springframework.batch.item.file.FlatFileItemWriter<Map<String,Object>> itemWriter()