com.lazerycode.jmeter.threadhandling
Enum JMeterThreads
java.lang.Object
java.lang.Enum<JMeterThreads>
com.lazerycode.jmeter.threadhandling.JMeterThreads
- All Implemented Interfaces:
- Serializable, Comparable<JMeterThreads>
public enum JMeterThreads
- extends Enum<JMeterThreads>
Thread names added to this list will be used when scanning JMeterThreads directly after JMeter is called
The plugin will then wait for the thread to finish
TODO: find out which threadname works for GUI detection on other operating systems
TODO: #GUI_THREAD_LINUX was found on a Mint 12 (Ubuntu) with Gnome desktop. is this universal for Linux?
STANDARD_JMETER_ENGINE
public static final JMeterThreads STANDARD_JMETER_ENGINE
GUI_THREAD_WINDOWS
public static final JMeterThreads GUI_THREAD_WINDOWS
GUI_THREAD_MACOSX
public static final JMeterThreads GUI_THREAD_MACOSX
GUI_THREAD_LINUX
public static final JMeterThreads GUI_THREAD_LINUX
values
public static JMeterThreads[] 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 (JMeterThreads c : JMeterThreads.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static JMeterThreads 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
getThreadName
public String getThreadName()
isGUIThread
public boolean isGUIThread()
Copyright © 2012. All Rights Reserved.