public static class CollectionBasedCreationData.Builder
extends java.lang.Object
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CollectionBasedCreationData |
build() |
CollectionBasedCreationData.Builder |
withBatchSize(int batchSize)
Allows to provide custom batch size.
|
CollectionBasedCreationData.Builder |
withElements(java.util.Collection<?> elements)
Allows to add
Collection of elements to divide into batches. |
CollectionBasedCreationData.Builder |
withHandlerId(java.lang.String handlerId)
Allows to provide Spring Bean ID of a SimpleDistributedProcessHandler.
|
CollectionBasedCreationData.Builder |
withNodeGroup(java.lang.String nodeGroup)
Allows to provide name of the NodeGroup which will execute process.
|
CollectionBasedCreationData.Builder |
withNumOfRetries(int numOfRetries)
Allows to provide custom number of retries for Batch.
|
CollectionBasedCreationData.Builder |
withProcessId(java.lang.String processId)
Allows to setup custom processId.
|
CollectionBasedCreationData.Builder |
withProcessModelClass(java.lang.Class<? extends SimpleDistributedProcessModel> processModelClass)
Allows to provide custom process model class.
|
CollectionBasedCreationData.Builder |
withScriptCode(java.lang.String scriptCode)
Allows to provide Script code which will act as a
SimpleBatchProcessor implementation. |
public CollectionBasedCreationData.Builder withElements(java.util.Collection<?> elements)
Collection of elements to divide into batches.public CollectionBasedCreationData.Builder withProcessId(java.lang.String processId)
public CollectionBasedCreationData.Builder withHandlerId(java.lang.String handlerId)
public CollectionBasedCreationData.Builder withScriptCode(java.lang.String scriptCode)
SimpleBatchProcessor implementation. When this option
is chosen withHandlerId(String) has no effect.public CollectionBasedCreationData.Builder withNodeGroup(java.lang.String nodeGroup)
public CollectionBasedCreationData.Builder withBatchSize(int batchSize)
public CollectionBasedCreationData.Builder withNumOfRetries(int numOfRetries)
public CollectionBasedCreationData.Builder withProcessModelClass(java.lang.Class<? extends SimpleDistributedProcessModel> processModelClass)
public CollectionBasedCreationData build()
Copyright © 2018 SAP SE. All Rights Reserved.