Class TestDistributedProcessHandler.TestProcessCreationData
- java.lang.Object
-
- de.hybris.platform.processing.distributed.defaultimpl.TestDistributedProcessHandler.TestProcessCreationData
-
- All Implemented Interfaces:
ProcessCreationData
- Enclosing class:
- TestDistributedProcessHandler
public static class TestDistributedProcessHandler.TestProcessCreationData extends java.lang.Object implements ProcessCreationData
-
-
Constructor Summary
Constructors Constructor Description TestProcessCreationData(java.util.List<TestDistributedProcessHandler.TestBatchCreationData> batches)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetHandlerBeanId()Responsible for returning spring bean id which will act as aDistributedProcessHandlerfor created process.java.lang.StringgetNodeGroup()Responsible for returning the node group, which may be assigned for the distributed process.java.util.stream.Stream<TestDistributedProcessHandler.TestBatchCreationData>initialBatches()Responsible for returning stream for creating initial batches used by distributed process.
-
-
-
Constructor Detail
-
TestProcessCreationData
public TestProcessCreationData(java.util.List<TestDistributedProcessHandler.TestBatchCreationData> batches)
-
-
Method Detail
-
initialBatches
public java.util.stream.Stream<TestDistributedProcessHandler.TestBatchCreationData> initialBatches()
Description copied from interface:ProcessCreationDataResponsible for returning stream for creating initial batches used by distributed process.- Specified by:
initialBatchesin interfaceProcessCreationData- Returns:
- Stream of batch data
-
getHandlerBeanId
public java.lang.String getHandlerBeanId()
Description copied from interface:ProcessCreationDataResponsible for returning spring bean id which will act as aDistributedProcessHandlerfor created process.- Specified by:
getHandlerBeanIdin interfaceProcessCreationData- Returns:
- handler bean id
-
getNodeGroup
public java.lang.String getNodeGroup()
Description copied from interface:ProcessCreationDataResponsible for returning the node group, which may be assigned for the distributed process.- Specified by:
getNodeGroupin interfaceProcessCreationData- Returns:
- node group
-
-