Class DefaultPostmanCollectionGenerator
java.lang.Object
de.hybris.platform.odata2services.export.impl.DefaultPostmanCollectionGenerator
- All Implemented Interfaces:
PostmanCollectionGenerator
The default implementation for the interface
PostmanCollectionGenerator.-
Constructor Summary
ConstructorsConstructorDescriptionDefaultPostmanCollectionGenerator(@NotNull ExportConfigurationService exportConfigurationService, @NotNull PostmanCollectionFormatter postmanCollectionFormatter) Instantiates a new Postman collection generator. -
Method Summary
Modifier and TypeMethodDescriptiongenerate(ConfigurationBundleEntity configurationBundleEntity) Generate a Postman collection from a givenConfigurationBundleEntity
-
Constructor Details
-
DefaultPostmanCollectionGenerator
public DefaultPostmanCollectionGenerator(@NotNull @NotNull ExportConfigurationService exportConfigurationService, @NotNull @NotNull PostmanCollectionFormatter postmanCollectionFormatter) Instantiates a new Postman collection generator.- Parameters:
exportConfigurationService- export configuration servicepostmanCollectionFormatter- Postman collection
-
-
Method Details
-
generate
Description copied from interface:PostmanCollectionGeneratorGenerate a Postman collection from a givenConfigurationBundleEntity- Specified by:
generatein interfacePostmanCollectionGenerator- Parameters:
configurationBundleEntity- the configuration bundle to process- Returns:
- a Json representation of a Postman collection
-