com.lazerycode.jmeter.properties
Enum JMeterPropertiesFiles

java.lang.Object
  extended by java.lang.Enum<JMeterPropertiesFiles>
      extended by com.lazerycode.jmeter.properties.JMeterPropertiesFiles
All Implemented Interfaces:
Serializable, Comparable<JMeterPropertiesFiles>

public enum JMeterPropertiesFiles
extends Enum<JMeterPropertiesFiles>

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
GLOBAL_PROPERTIES
           
JMETER_PROPERTIES
           
SAVE_SERVICE_PROPERTIES
           
SYSTEM_PROPERTIES
           
UPGRADE_PROPERTIES
           
USER_PROPERTIES
           
 
Method Summary
 boolean createFileIfItDoesntExist()
           
 String getPropertiesFileName()
           
static JMeterPropertiesFiles valueOf(String name)
          Returns the enum constant of this type with the specified name.
static JMeterPropertiesFiles[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

JMETER_PROPERTIES

public static final JMeterPropertiesFiles JMETER_PROPERTIES

SAVE_SERVICE_PROPERTIES

public static final JMeterPropertiesFiles SAVE_SERVICE_PROPERTIES

UPGRADE_PROPERTIES

public static final JMeterPropertiesFiles UPGRADE_PROPERTIES

SYSTEM_PROPERTIES

public static final JMeterPropertiesFiles SYSTEM_PROPERTIES

USER_PROPERTIES

public static final JMeterPropertiesFiles USER_PROPERTIES

GLOBAL_PROPERTIES

public static final JMeterPropertiesFiles GLOBAL_PROPERTIES
Method Detail

values

public static JMeterPropertiesFiles[] 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 (JMeterPropertiesFiles c : JMeterPropertiesFiles.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static JMeterPropertiesFiles 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 name
NullPointerException - if the argument is null

getPropertiesFileName

public String getPropertiesFileName()

createFileIfItDoesntExist

public boolean createFileIfItDoesntExist()


Copyright © 2012. All Rights Reserved.