Class EventsSpecificationPopulator
- java.lang.Object
-
- de.hybris.platform.kymaintegrationservices.populators.EventsSpecificationPopulator
-
- All Implemented Interfaces:
Populator<EventsSpecificationSourceData,ServiceRegistrationData>
public class EventsSpecificationPopulator extends java.lang.Object implements Populator<EventsSpecificationSourceData,ServiceRegistrationData>
Kyma specific implementation of Populator that populates All Events specification DTO.ServiceRegistrationData
-
-
Constructor Summary
Constructors Constructor Description EventsSpecificationPopulator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Converter<EventConfigurationModel,TopicData>getTopicConverter()voidpopulate(EventsSpecificationSourceData source, ServiceRegistrationData target)Populate the target instance with values from the source instance.protected voidpopulateEventSpecification(ExposedDestinationModel destinationModel, java.util.List<EventConfigurationModel> eventsList, EventsSpecificationData target)protected voidpopulateInfo(ExposedDestinationModel source, InfoData target)protected voidpopulateTopics(java.util.List<EventConfigurationModel> eventList, java.util.Map<java.lang.String,TopicData> target)voidsetTopicConverter(Converter<EventConfigurationModel,TopicData> topicConverter)
-
-
-
Method Detail
-
populate
public void populate(EventsSpecificationSourceData source, ServiceRegistrationData target)
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, java.util.List<EventConfigurationModel> eventsList, EventsSpecificationData target)
-
populateTopics
protected void populateTopics(java.util.List<EventConfigurationModel> eventList, java.util.Map<java.lang.String,TopicData> target)
-
populateInfo
protected void populateInfo(ExposedDestinationModel source, InfoData target)
-
getTopicConverter
protected Converter<EventConfigurationModel,TopicData> getTopicConverter()
-
setTopicConverter
public void setTopicConverter(Converter<EventConfigurationModel,TopicData> topicConverter)
-
-