Class EventsSpecificationPopulator
java.lang.Object
de.hybris.platform.kymaintegrationservices.populators.EventsSpecificationPopulator
- All Implemented Interfaces:
Populator<EventsSpecificationSourceData,ServiceRegistrationData>
public class EventsSpecificationPopulator
extends Object
implements Populator<EventsSpecificationSourceData,ServiceRegistrationData>
Kyma specific implementation of Populator that populates All Events specification DTO.
ServiceRegistrationData-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Converter<EventConfigurationModel,TopicData> voidpopulate(EventsSpecificationSourceData source, ServiceRegistrationData target) Populate the target instance with values from the source instance.protected voidpopulateEventSpecification(ExposedDestinationModel destinationModel, List<EventConfigurationModel> eventsList, EventsSpecificationData target) protected voidpopulateInfo(ExposedDestinationModel source, InfoData target) protected voidpopulateTopics(List<EventConfigurationModel> eventList, Map<String, TopicData> target) voidsetTopicConverter(Converter<EventConfigurationModel, TopicData> topicConverter)
-
Constructor Details
-
EventsSpecificationPopulator
public EventsSpecificationPopulator()
-
-
Method Details
-
populate
Description copied from interface:PopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein interfacePopulator<EventsSpecificationSourceData,ServiceRegistrationData> - Parameters:
source- the source objecttarget- the target to fill
-
populateEventSpecification
protected void populateEventSpecification(ExposedDestinationModel destinationModel, List<EventConfigurationModel> eventsList, EventsSpecificationData target) -
populateTopics
protected void populateTopics(List<EventConfigurationModel> eventList, Map<String, TopicData> target) -
populateInfo
-
getTopicConverter
-
setTopicConverter
-