|
IBM Rational Performance Tester SDK | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||||
java.lang.Objectjava.lang.Enum<RecorderState>
com.ibm.rational.test.lt.recorder.core.session.RecorderState
public enum RecorderState
The states of a IRecorder.
| Enum Constant Summary | |
|---|---|
INITIAL
The recorder has not been started yet. |
|
PAUSED
The recorder is running, but not capturing traffic (or capturing a reduced traffic if the protocol nature is stateful). |
|
RECORDING
The recorder is running and capturing traffic. |
|
STARTING
The recorder has been asked to start, but is not ready yet to capture traffic. |
|
STOPPING
The recorder has been asked to stop, but has not stopped yet. |
|
TERMINATED
The recorder has terminated. |
|
| Method Summary | |
|---|---|
String |
getLabel()
Returns a localized label for the state (can be displayed to the user). |
boolean |
isActive()
Returns whether the recorder is an active state (i.e. recording or paused). |
static RecorderState |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static RecorderState[] |
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 RecorderState INITIAL
public static final RecorderState STARTING
public static final RecorderState RECORDING
public static final RecorderState PAUSED
public static final RecorderState STOPPING
public static final RecorderState TERMINATED
| Method Detail |
|---|
public static RecorderState[] values()
for (RecorderState c : RecorderState.values()) System.out.println(c);
public static RecorderState valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String getLabel()
public boolean isActive()
|
IBM Rational Performance Tester SDK | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||||