Class IntegrationObjectBuilder
java.lang.Object
de.hybris.platform.integrationservices.IntegrationObjectBuilder
A builder for
IntegrationObjectModel-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdds anIntegrationObjectItemModelfrom the specification to the integration objectAdds anIntegrationObjectItemModelto the integration objectbuild()Each time build() is called, a new instance of the theIntegrationObjectModelis returned with the same properties that were set.static IntegrationObjectBuilderGet a new instance of the builder
-
Constructor Details
-
IntegrationObjectBuilder
public IntegrationObjectBuilder()
-
-
Method Details
-
integrationObject
Get a new instance of the builder- Returns:
- IntegrationObjectBuilder
-
withCode
-
addIntegrationObjectItem
Adds anIntegrationObjectItemModelfrom the specification to the integration object- Parameters:
spec- Specification to an IntegrationObjectItemModel- Returns:
- IntegrationObjectBuilder
-
addIntegrationObjectItem
Adds anIntegrationObjectItemModelto the integration object- Parameters:
item- Item to add- Returns:
- IntegrationObjectBuilder
-
build
Each time build() is called, a new instance of the theIntegrationObjectModelis returned with the same properties that were set.- Returns:
- IntegrationObjectModel
-