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

com.lazerycode.jmeter.properties.ConfigurationFiles Maven / Gradle / Ivy

There is a newer version: 1.2.6
Show newest version
package com.lazerycode.jmeter.properties;

/**
 * An Enum holding a list of JMeter properties files.
 * If it is set to true JMeter expects it to be in the bin dir.
 *
 * @author Mark Collin
 */
public enum ConfigurationFiles {

	JMETER_PROPERTIES("jmeter.properties", true),
	SAVE_SERVICE_PROPERTIES("saveservice.properties", true),
	UPGRADE_PROPERTIES("upgrade.properties", true),
	SYSTEM_PROPERTIES("system.properties", true),
	USER_PROPERTIES("user.properties", true),
	REPORT_GENERATOR_PROPERTIES("reportgenerator.properties", true),
	GLOBAL_PROPERTIES("global.properties", false);

	private final String propertiesFilename;
	private final boolean isRequired;

	ConfigurationFiles(String propertiesFilename, boolean isRequired) {
		this.propertiesFilename = propertiesFilename;
		this.isRequired = isRequired;
	}

	public String getFilename() {
		return propertiesFilename;
	}

	public boolean createFileIfItDoesNotExist() {
		return isRequired;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy