org.springframework.batch.integration.chunk
Class ChunkRequest<T>

java.lang.Object
  extended by org.springframework.batch.integration.chunk.ChunkRequest<T>
All Implemented Interfaces:
java.io.Serializable

public class ChunkRequest<T>
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
ChunkRequest(java.util.Collection<? extends T> items, java.lang.Long jobId, org.springframework.batch.core.StepContribution stepContribution)
           
 
Method Summary
 java.util.Collection<? extends T> getItems()
           
 java.lang.Long getJobId()
           
 org.springframework.batch.core.StepContribution getStepContribution()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ChunkRequest

public ChunkRequest(java.util.Collection<? extends T> items,
                    java.lang.Long jobId,
                    org.springframework.batch.core.StepContribution stepContribution)
Method Detail

getJobId

public java.lang.Long getJobId()

getItems

public java.util.Collection<? extends T> getItems()

getStepContribution

public org.springframework.batch.core.StepContribution getStepContribution()
Returns:
the StepContribution for this chunk

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
See Also:
Object.toString()


Copyright © 2009. All Rights Reserved.