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

org.metricssampler.config.OutputConfig Maven / Gradle / Ivy

The newest version!
package org.metricssampler.config;


/**
 * Base class for output configurations.
 */
public abstract class OutputConfig extends NamedConfig {
	private final boolean default_;
	
	public OutputConfig(final String name, final boolean default_) {
		super(name);
		this.default_ = default_;
	}
	
	/**
	 * @return {@code true} if the output should be used for samplers that do not explicitly specify their outputs
	 */
	public boolean isDefault() {
		return default_;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy