public class StepContribution
extends java.lang.Object
implements java.io.Serializable
StepExecution
, buffering changes until
they can be applied at a chunk boundary.Constructor and Description |
---|
StepContribution(StepExecution execution) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
ExitStatus |
getExitStatus()
Public getter for the status.
|
int |
getFilterCount()
Public getter for the filter counter.
|
int |
getProcessSkipCount()
Public getter for the process skip count.
|
int |
getReadCount()
Public access to the read counter.
|
int |
getReadSkipCount() |
int |
getSkipCount() |
int |
getStepSkipCount() |
int |
getWriteCount()
Public access to the write counter.
|
int |
getWriteSkipCount() |
int |
hashCode() |
void |
incrementFilterCount(int count)
Increment the counter for the number of items processed.
|
void |
incrementProcessSkipCount() |
void |
incrementReadCount()
Increment the counter for the number of items read.
|
void |
incrementReadSkipCount()
Increment the read skip count for this contribution
|
void |
incrementReadSkipCount(int count)
Increment the read skip count for this contribution
|
void |
incrementWriteCount(int count)
Increment the counter for the number of items written.
|
void |
incrementWriteSkipCount()
Increment the write skip count for this contribution
|
void |
setExitStatus(ExitStatus status)
Set the
ExitStatus for this contribution. |
java.lang.String |
toString() |
public StepContribution(StepExecution execution)
execution
- StepExecution
the stepExecution used to initialize
skipCount
.public void setExitStatus(ExitStatus status)
ExitStatus
for this contribution.status
- ExitStatus
instance to be used to set the exit status.public ExitStatus getExitStatus()
ExitStatus
for this contributionpublic void incrementFilterCount(int count)
count
- int amount to increment by.public void incrementReadCount()
public void incrementWriteCount(int count)
count
- int amount to increment by.public int getReadCount()
public int getWriteCount()
public int getFilterCount()
public int getStepSkipCount()
StepExecution
and this StepContribution
.public int getSkipCount()
StepContribution
(not including skips accumulated in the
parent StepExecution
).public void incrementReadSkipCount()
public void incrementReadSkipCount(int count)
count
- int amount to increment by.public void incrementWriteSkipCount()
public void incrementProcessSkipCount()
public int getReadSkipCount()
public int getWriteSkipCount()
public int getProcessSkipCount()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()