public interface Chunk<T> extends Child<T>, JslChunkCommType<T,Chunk<T>,ItemReader<Chunk<T>>,ItemProcessor<Chunk<T>>,ItemWriter<Chunk<T>>,CheckpointAlgorithm<Chunk<T>>,ExceptionClassFilter<Chunk<T>>,ExceptionClassFilter<Chunk<T>>,ExceptionClassFilter<Chunk<T>>>
Chunk
xsd typeModifier and Type | Method and Description |
---|---|
Chunk<T> |
checkpointPolicy(String checkpointPolicy)
Sets the
checkpoint-policy attribute |
String |
getCheckpointPolicy()
Returns the
checkpoint-policy attribute |
String |
getItemCount()
Returns the
item-count attribute |
CheckpointAlgorithm<Chunk<T>> |
getOrCreateCheckpointAlgorithm()
If not already created, a new
checkpoint-algorithm element with the given value will be created. |
ExceptionClassFilter<Chunk<T>> |
getOrCreateNoRollbackExceptionClasses()
If not already created, a new
no-rollback-exception-classes element with the given value will be created. |
ItemProcessor<Chunk<T>> |
getOrCreateProcessor()
If not already created, a new
processor element with the given value will be created. |
ItemReader<Chunk<T>> |
getOrCreateReader()
If not already created, a new
reader element with the given value will be created. |
ExceptionClassFilter<Chunk<T>> |
getOrCreateRetryableExceptionClasses()
If not already created, a new
retryable-exception-classes element with the given value will be created. |
ExceptionClassFilter<Chunk<T>> |
getOrCreateSkippableExceptionClasses()
If not already created, a new
skippable-exception-classes element with the given value will be created. |
ItemWriter<Chunk<T>> |
getOrCreateWriter()
If not already created, a new
writer element with the given value will be created. |
String |
getRetryLimit()
Returns the
retry-limit attribute |
String |
getSkipLimit()
Returns the
skip-limit attribute |
String |
getTimeLimit()
Returns the
time-limit attribute |
Chunk<T> |
itemCount(String itemCount)
Sets the
item-count attribute |
Chunk<T> |
removeCheckpointAlgorithm()
Removes the
checkpoint-algorithm element |
Chunk<T> |
removeCheckpointPolicy()
Removes the
checkpoint-policy attribute |
Chunk<T> |
removeItemCount()
Removes the
item-count attribute |
Chunk<T> |
removeNoRollbackExceptionClasses()
Removes the
no-rollback-exception-classes element |
Chunk<T> |
removeProcessor()
Removes the
processor element |
Chunk<T> |
removeReader()
Removes the
reader element |
Chunk<T> |
removeRetryableExceptionClasses()
Removes the
retryable-exception-classes element |
Chunk<T> |
removeRetryLimit()
Removes the
retry-limit attribute |
Chunk<T> |
removeSkipLimit()
Removes the
skip-limit attribute |
Chunk<T> |
removeSkippableExceptionClasses()
Removes the
skippable-exception-classes element |
Chunk<T> |
removeTimeLimit()
Removes the
time-limit attribute |
Chunk<T> |
removeWriter()
Removes the
writer element |
Chunk<T> |
retryLimit(String retryLimit)
Sets the
retry-limit attribute |
Chunk<T> |
skipLimit(String skipLimit)
Sets the
skip-limit attribute |
Chunk<T> |
timeLimit(String timeLimit)
Sets the
time-limit attribute |
ItemReader<Chunk<T>> getOrCreateReader()
reader
element with the given value will be created.
Otherwise, the existing reader
element will be returned.ItemReader>
Chunk<T> removeReader()
reader
elementChunk
ItemProcessor<Chunk<T>> getOrCreateProcessor()
processor
element with the given value will be created.
Otherwise, the existing processor
element will be returned.ItemProcessor>
Chunk<T> removeProcessor()
processor
elementChunk
ItemWriter<Chunk<T>> getOrCreateWriter()
writer
element with the given value will be created.
Otherwise, the existing writer
element will be returned.ItemWriter>
Chunk<T> removeWriter()
writer
elementChunk
CheckpointAlgorithm<Chunk<T>> getOrCreateCheckpointAlgorithm()
checkpoint-algorithm
element with the given value will be created.
Otherwise, the existing checkpoint-algorithm
element will be returned.CheckpointAlgorithm>
Chunk<T> removeCheckpointAlgorithm()
checkpoint-algorithm
elementChunk
ExceptionClassFilter<Chunk<T>> getOrCreateSkippableExceptionClasses()
skippable-exception-classes
element with the given value will be created.
Otherwise, the existing skippable-exception-classes
element will be returned.ExceptionClassFilter>
Chunk<T> removeSkippableExceptionClasses()
skippable-exception-classes
elementChunk
ExceptionClassFilter<Chunk<T>> getOrCreateRetryableExceptionClasses()
retryable-exception-classes
element with the given value will be created.
Otherwise, the existing retryable-exception-classes
element will be returned.ExceptionClassFilter>
Chunk<T> removeRetryableExceptionClasses()
retryable-exception-classes
elementChunk
ExceptionClassFilter<Chunk<T>> getOrCreateNoRollbackExceptionClasses()
no-rollback-exception-classes
element with the given value will be created.
Otherwise, the existing no-rollback-exception-classes
element will be returned.ExceptionClassFilter>
Chunk<T> removeNoRollbackExceptionClasses()
no-rollback-exception-classes
elementChunk
Chunk<T> checkpointPolicy(String checkpointPolicy)
checkpoint-policy
attributecheckpointPolicy
- the value for the attribute checkpoint-policy
Chunk
String getCheckpointPolicy()
checkpoint-policy
attributecheckpoint-policy
Chunk<T> removeCheckpointPolicy()
checkpoint-policy
attributeChunk
Chunk<T> itemCount(String itemCount)
item-count
attributeitemCount
- the value for the attribute item-count
Chunk
String getItemCount()
item-count
attributeitem-count
Chunk<T> removeItemCount()
item-count
attributeChunk
Chunk<T> timeLimit(String timeLimit)
time-limit
attributetimeLimit
- the value for the attribute time-limit
Chunk
String getTimeLimit()
time-limit
attributetime-limit
Chunk<T> removeTimeLimit()
time-limit
attributeChunk
Chunk<T> skipLimit(String skipLimit)
skip-limit
attributeskipLimit
- the value for the attribute skip-limit
Chunk
String getSkipLimit()
skip-limit
attributeskip-limit
Chunk<T> removeSkipLimit()
skip-limit
attributeChunk
Chunk<T> retryLimit(String retryLimit)
retry-limit
attributeretryLimit
- the value for the attribute retry-limit
Chunk
String getRetryLimit()
retry-limit
attributeretry-limit
Copyright © 2020 JBoss by Red Hat. All rights reserved.