org.wso2.carbon.event.builder.admin.internal.util.dto.converter
Class TextDtoConverter

java.lang.Object
  extended by org.wso2.carbon.event.builder.admin.internal.util.DtoConverter
      extended by org.wso2.carbon.event.builder.admin.internal.util.dto.converter.TextDtoConverter

public class TextDtoConverter
extends DtoConverter


Constructor Summary
TextDtoConverter()
           
 
Method Summary
 EventBuilderConfigurationDto fromEventBuilderConfiguration(org.wso2.carbon.event.builder.core.config.EventBuilderConfiguration eventBuilderConfiguration)
          Returns an EventBuilderConfigurationDto for the passed in EventBuilderConfiguration
 org.wso2.carbon.event.builder.core.config.EventBuilderConfiguration toEventBuilderConfiguration(String eventBuilderName, String streamNameWithVersion, String eventAdaptorName, String eventAdaptorType, EventInputPropertyConfigurationDto[] textMappingAttributes, PropertyDto[] inputPropertyConfiguration, boolean mappingEnabled)
           
 
Methods inherited from class org.wso2.carbon.event.builder.admin.internal.util.DtoConverter
getEventBuilderConfigurationInfoDto, getEventBuilderMessageProperties, getEventBuilderPropertiesFrom, setCommonPropertiesToEventBuilderConfig
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextDtoConverter

public TextDtoConverter()
Method Detail

toEventBuilderConfiguration

public org.wso2.carbon.event.builder.core.config.EventBuilderConfiguration toEventBuilderConfiguration(String eventBuilderName,
                                                                                                       String streamNameWithVersion,
                                                                                                       String eventAdaptorName,
                                                                                                       String eventAdaptorType,
                                                                                                       EventInputPropertyConfigurationDto[] textMappingAttributes,
                                                                                                       PropertyDto[] inputPropertyConfiguration,
                                                                                                       boolean mappingEnabled)
                                                                                                throws EventBuilderAdminServiceException
Throws:
EventBuilderAdminServiceException

fromEventBuilderConfiguration

public EventBuilderConfigurationDto fromEventBuilderConfiguration(org.wso2.carbon.event.builder.core.config.EventBuilderConfiguration eventBuilderConfiguration)
Description copied from class: DtoConverter
Returns an EventBuilderConfigurationDto for the passed in EventBuilderConfiguration

Specified by:
fromEventBuilderConfiguration in class DtoConverter
Parameters:
eventBuilderConfiguration - the event builder configuration that needs to be converted to a DTO
Returns:
an EventBuilderConfigurationDto instance that matches the passed in EventBuilderConfiguration


Copyright © 2015 WSO2. All rights reserved.