Package com.lazerycode.jmeter.properties
Enum ConfigurationFiles
- java.lang.Object
-
- java.lang.Enum<ConfigurationFiles>
-
- com.lazerycode.jmeter.properties.ConfigurationFiles
-
- All Implemented Interfaces:
Serializable
,Comparable<ConfigurationFiles>
public enum ConfigurationFiles extends Enum<ConfigurationFiles>
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
-
-
Enum Constant Summary
Enum Constants Enum Constant Description GLOBAL_PROPERTIES
JMETER_PROPERTIES
REPORT_GENERATOR_PROPERTIES
SAVE_SERVICE_PROPERTIES
SYSTEM_PROPERTIES
UPGRADE_PROPERTIES
USER_PROPERTIES
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
createFileIfItDoesNotExist()
String
getFilename()
static ConfigurationFiles
valueOf(String name)
Returns the enum constant of this type with the specified name.static ConfigurationFiles[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
JMETER_PROPERTIES
public static final ConfigurationFiles JMETER_PROPERTIES
-
SAVE_SERVICE_PROPERTIES
public static final ConfigurationFiles SAVE_SERVICE_PROPERTIES
-
UPGRADE_PROPERTIES
public static final ConfigurationFiles UPGRADE_PROPERTIES
-
SYSTEM_PROPERTIES
public static final ConfigurationFiles SYSTEM_PROPERTIES
-
USER_PROPERTIES
public static final ConfigurationFiles USER_PROPERTIES
-
REPORT_GENERATOR_PROPERTIES
public static final ConfigurationFiles REPORT_GENERATOR_PROPERTIES
-
GLOBAL_PROPERTIES
public static final ConfigurationFiles GLOBAL_PROPERTIES
-
-
Method Detail
-
values
public static ConfigurationFiles[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ConfigurationFiles c : ConfigurationFiles.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConfigurationFiles valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getFilename
public String getFilename()
-
createFileIfItDoesNotExist
public boolean createFileIfItDoesNotExist()
-
-