com.lazerycode.jmeter.threadhandling
Enum JMeterThreads

java.lang.Object
  extended by java.lang.Enum<JMeterThreads>
      extended by 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


Enum Constant Summary
GUI_THREAD_LINUX
           
GUI_THREAD_MACOSX
           
GUI_THREAD_WINDOWS
           
STANDARD_JMETER_ENGINE
           
 
Method Summary
 String getThreadName()
           
 boolean isGUIThread()
           
static JMeterThreads valueOf(String name)
          Returns the enum constant of this type with the specified name.
static JMeterThreads[] 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

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
Method Detail

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 © 2013. All Rights Reserved.