public class PostProcessorValidatingDecorator<I,O> extends LoggingBean implements org.springframework.batch.item.ItemProcessor<I,O>
Constructor and Description |
---|
PostProcessorValidatingDecorator(org.springframework.batch.item.ItemProcessor<I,O> processor)
Instantiates a new post processor validating decorator.
|
Modifier and Type | Method and Description |
---|---|
org.springframework.batch.item.ItemProcessor<I,O> |
getProcessor()
Gets the processor.
|
org.springframework.batch.item.validator.Validator<O> |
getValidator()
Gets the validator.
|
O |
process(I item) |
void |
setProcessor(org.springframework.batch.item.ItemProcessor<I,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<I,O> getProcessor()
public void setProcessor(org.springframework.batch.item.ItemProcessor<I,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