public enum RecorderState extends Enum<RecorderState> implements com.ibm.rational.test.lt.recorder.core.internal.session.IRecorderComponentState
IRecorder
.Enum Constant and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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
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 nameNullPointerException
- if the argument is nullpublic String getLabel()
public boolean isActive()
© Copyright IBM Corp. 2013. All rights reserved.