package com.github.aureliano.evtbridge.converter;

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

import com.github.aureliano.evtbridge.converter.exception.ConfigurationConverterException;

public final class ConversionApplyer {

	private ConversionApplyer() {
		super();
	}
	
	public static List<?> apply(ConverterType type, Map<String, Object> data) {
		switch (type) {
			case INPUT : return new InputConverter().convert(data);
			case OUTPUT : return new OutputConverter().convert(data);
			default : throw new ConfigurationConverterException("Unsupported converter type.");
		}
	}
}
@@ -180,16 +180,155 @@
 ception;
+%0Aimport com.github.aureliano.evtbridge.converter.schedule.SchedulerConverter;%0Aimport com.github.aureliano.evtbridge.core.helper.DataHelper;
 %0A%0Apublic
@@ -623,16 +623,115 @@
 (data);%0A
+%09%09%09case SCHEDULER : return DataHelper.encapsulateIntoList(new SchedulerConverter().convert(data));%0A
 %09%09%09defau

Handle scheculer conversion.