public class SummaryFooterCallback extends StepExecutionListenerSupport implements FlatFileFooterCallback
Constructor and Description |
---|
SummaryFooterCallback() |
Modifier and Type | Method and Description |
---|---|
void |
beforeStep(StepExecution stepExecution)
Initialize the state of the listener with the
StepExecution from
the current scope. |
void |
writeFooter(Writer writer)
Write contents to a file using the supplied
Writer . |
afterStep
public void writeFooter(Writer writer) throws IOException
FlatFileFooterCallback
Writer
. It is not
required to flush the writer inside this method.writeFooter
in interface FlatFileFooterCallback
IOException
public void beforeStep(StepExecution stepExecution)
StepExecutionListener
StepExecution
from
the current scope.beforeStep
in interface StepExecutionListener
beforeStep
in class StepExecutionListenerSupport
Copyright © 2014 Pivotal. All rights reserved.