Class SyncParametersBuilder
java.lang.Object
de.hybris.platform.outboundservices.facade.SyncParametersBuilder
A builder for creating
SyncParameters instances.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the SyncParameters from the values provided to the builder.static SyncParametersBuilderfrom(SyncParameters params) withChangeId(String id) withDestination(ConsumedDestinationModel destinationModel) withDestinationId(String destId) Deprecated, for removal: This API element is subject to removal in a future version.withEventType(EventType eventType) withIntegrationKey(String keyValue) withIntegrationObject(IntegrationObjectModel integrationObjectModel) withIntegrationObjectCode(String ioCode) Deprecated, for removal: This API element is subject to removal in a future version.usewithIntegrationObject(IntegrationObjectModel)instead.Deprecated, for removal: This API element is subject to removal in a future version.usewithPayloadObject(Object)instead.withPayloadObject(Object payloadObject) withSource(OutboundSource src)
-
Method Details
-
from
-
withItem
@Deprecated(since="2211.FP1", forRemoval=true) public SyncParametersBuilder withItem(ItemModel item) Deprecated, for removal: This API element is subject to removal in a future version.usewithPayloadObject(Object)instead. -
withPayloadObject
-
withDestinationId
@Deprecated(since="2211.FP1", forRemoval=true) public SyncParametersBuilder withDestinationId(String destId) Deprecated, for removal: This API element is subject to removal in a future version.usewithDestination(ConsumedDestinationModel)instead. -
withSource
-
withDestination
-
withIntegrationObject
-
withEventType
-
withIntegrationKey
-
withChangeId
-
withIntegrationObjectCode
@Deprecated(since="2211.FP1", forRemoval=true) public SyncParametersBuilder withIntegrationObjectCode(String ioCode) Deprecated, for removal: This API element is subject to removal in a future version.usewithIntegrationObject(IntegrationObjectModel)instead. -
build
Builds the SyncParameters from the values provided to the builder.- Returns:
- the SyncParameters with the provided values.
-
withDestination(ConsumedDestinationModel)instead.