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

org.metricssampler.cmd.CheckConfigCommand Maven / Gradle / Ivy

The newest version!
package org.metricssampler.cmd;

import com.beust.jcommander.Parameters;
import org.metricssampler.service.Bootstrapper;
import org.metricssampler.service.DefaultBootstrapper;

@Parameters(commandNames="check-config", commandDescriptionKey="help.check-config.command")
public class CheckConfigCommand extends ConfigurationCommand {
	@Override
	protected Bootstrapper createBootstrapper() {
		return DefaultBootstrapper.bootstrap(configuration.getConfig(), true);
	}

	@Override
	protected void runBootstrapped() {
		logger.info("Configuration looks good");
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy