|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<BTraceTask.State>
com.sun.btrace.api.BTraceTask.State
public static enum BTraceTask.State
This enum represents the allowed states of the tracing task
Enum Constant Summary | |
---|---|
ACCEPTED
The BTrace agent has accepted the script |
|
COMPILED
The task script has just been compiled |
|
COMPILING
Indicates that the BTrace compiler has started compiling |
|
FAILED
|
|
FINISHED
Indicates an inactive task |
|
INSTRUMENTING
The BTrace agent is going to instrument appropriate classes |
|
NEW
This is the state of a newly created task |
|
RUNNING
All instrumentation and initialization is done; task is running |
|
STARTING
The task becomes STARTING immediately after calling its start()method |
Method Summary | |
---|---|
static BTraceTask.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static BTraceTask.State[] |
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 |
---|
public static final BTraceTask.State NEW
public static final BTraceTask.State STARTING
public static final BTraceTask.State COMPILING
public static final BTraceTask.State COMPILED
public static final BTraceTask.State ACCEPTED
public static final BTraceTask.State INSTRUMENTING
public static final BTraceTask.State RUNNING
public static final BTraceTask.State FINISHED
public static final BTraceTask.State FAILED
Method Detail |
---|
public static BTraceTask.State[] values()
for (BTraceTask.State c : BTraceTask.State.values()) System.out.println(c);
public static BTraceTask.State 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 name
java.lang.NullPointerException
- if the argument is null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |