Class DefaultPostmanCollectionGenerator
- java.lang.Object
-
- de.hybris.platform.odata2services.export.impl.DefaultPostmanCollectionGenerator
-
- All Implemented Interfaces:
PostmanCollectionGenerator
public class DefaultPostmanCollectionGenerator extends java.lang.Object implements PostmanCollectionGenerator
The default implementation for the interfacePostmanCollectionGenerator.
-
-
Constructor Summary
Constructors Constructor Description DefaultPostmanCollectionGenerator(@NotNull ExportConfigurationService exportConfigurationService, @NotNull PostmanCollectionFormatter postmanCollectionFormatter)Instantiates a new Postman collection generator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringgenerate(ConfigurationBundleEntity configurationBundleEntity)Generate a Postman collection from a givenConfigurationBundleEntity
-
-
-
Constructor Detail
-
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 Detail
-
generate
public java.lang.String generate(ConfigurationBundleEntity configurationBundleEntity)
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
-
-