package com.github.aureliano.evtbridge.converter;

import java.util.List;
import java.util.Map;

import com.github.aureliano.evtbridge.common.exception.EventBridgeException;

public final class ConversionApplyer {

	private ConversionApplyer() {
		super();
	}
	
	public static List<?> apply(ConverterType type, Map<String, Object> data) {
		throw new EventBridgeException("Method not implemented.");
	}
}
@@ -134,12 +134,15 @@
 e.co
-mmon
+nverter
 .exc
@@ -148,27 +148,38 @@
 ception.
-EventBridge
+ConfigurationConverter
 Exceptio
@@ -352,66 +352,236 @@
 %7B%0A%09%09
-throw new EventBridgeException(%22Method not implemented.%22);
+switch (type) %7B%0A%09%09%09case INPUT : return new InputConverter().convert(data);%0A%09%09%09//case OUTPUT : return new OutputConverter().convert(data);%0A%09%09%09default : throw new ConfigurationConverterException(%22Unsupported converter type.%22);%0A%09%09%7D
 %0A%09%7D%0A

Handle input config conversion.