public static enum ThreadType.BasicThreadType extends java.lang.Enum<ThreadType.BasicThreadType> implements ThreadType
ThreadType.BasicThreadType| Enum Constant and Description |
|---|
AGENT |
AGENT_INSTRUMENTATION |
BACKGROUND |
OTHER |
REQUEST |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName() |
java.lang.String |
toJSONString() |
static ThreadType.BasicThreadType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ThreadType.BasicThreadType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
void |
writeJSONString(java.io.Writer out) |
public static final ThreadType.BasicThreadType AGENT
public static final ThreadType.BasicThreadType AGENT_INSTRUMENTATION
public static final ThreadType.BasicThreadType REQUEST
public static final ThreadType.BasicThreadType BACKGROUND
public static final ThreadType.BasicThreadType OTHER
public static ThreadType.BasicThreadType[] values()
for (ThreadType.BasicThreadType c : ThreadType.BasicThreadType.values()) System.out.println(c);
public static ThreadType.BasicThreadType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getName()
getName in interface ThreadTypepublic void writeJSONString(java.io.Writer out)
throws java.io.IOException
writeJSONString in interface org.json.simple.JSONStreamAwarejava.io.IOExceptionpublic java.lang.String toJSONString()
toJSONString in interface org.json.simple.JSONAware