public class ListPostProcessorValidatingDecorator<I,O> extends LoggingBean implements org.springframework.batch.item.ItemProcessor<java.util.List<I>,java.util.List<O>>
Constructor and Description |
---|
ListPostProcessorValidatingDecorator(org.springframework.batch.item.ItemProcessor<java.util.List<I>,java.util.List<O>> processor)
Instantiates a new list post processor validating decorator.
|
Modifier and Type | Method and Description |
---|---|
org.springframework.batch.item.ItemProcessor<java.util.List<I>,java.util.List<O>> |
getProcessor()
Gets the processor.
|
org.springframework.batch.item.validator.Validator<O> |
getValidator()
Gets the validator.
|
java.util.List<O> |
process(java.util.List<I> items) |
void |
setProcessor(org.springframework.batch.item.ItemProcessor<java.util.List<I>,java.util.List<O>> processor)
Sets the processor.
|
void |
setValidator(org.springframework.batch.item.validator.Validator<O> validator)
Sets the validator.
|
getLogger, setLogger
public org.springframework.batch.item.ItemProcessor<java.util.List<I>,java.util.List<O>> getProcessor()
public void setProcessor(org.springframework.batch.item.ItemProcessor<java.util.List<I>,java.util.List<O>> processor)
processor
- the processorpublic org.springframework.batch.item.validator.Validator<O> getValidator()
public void setValidator(org.springframework.batch.item.validator.Validator<O> validator)
validator
- the new validator