org.springframework.batch.core.scope.context
Class ChunkContext
java.lang.Object
org.springframework.core.AttributeAccessorSupport
org.springframework.batch.core.scope.context.ChunkContext
- All Implemented Interfaces:
- Serializable, AttributeAccessor
public class ChunkContext
- extends AttributeAccessorSupport
- Author:
- Dave Syer
- See Also:
- Serialized Form
ChunkContext
public ChunkContext(StepContext stepContext)
- Parameters:
stepContext
- the current step context
getStepContext
public StepContext getStepContext()
- Returns:
- the current step context
isComplete
public boolean isComplete()
- Returns:
- true if there is no more processing to be done on this chunk
setComplete
public void setComplete()
- Setter for the flag to signal complete processing of a chunk.
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2009 SpringSource. All Rights Reserved.