All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.etlunit.feature.debug.ConsoleFeatureModule Maven / Gradle / Ivy

package org.etlunit.feature.debug;

import com.google.inject.Injector;
import org.etlunit.StatusReporter;
import org.etlunit.feature.AbstractFeature;
import org.etlunit.feature.FeatureModule;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

@FeatureModule
public class ConsoleFeatureModule extends AbstractFeature
{
	private static final List prerequisites = new ArrayList(Arrays.asList("results"));

	private final ConsoleStatusReporter consoleStatusReporter = new ConsoleStatusReporter();

	@Override
	public List getPrerequisites()
	{
		return prerequisites;
	}

	@Override
	public void initialize(Injector inj)
	{
		inj.injectMembers(consoleStatusReporter);
	}

	public ConsoleStatusReporter getConsoleStatusReporter()
	{
		return consoleStatusReporter;
	}

	@Override
	public StatusReporter getStatusReporter()
	{
		return consoleStatusReporter;
	}

	@Override
	public String getFeatureName()
	{
		return "console";
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy