IBM Rational Performance Tester SDK

com.ibm.rational.test.lt.recorder.core.config
Class RecorderConfiguration

java.lang.Object
  extended by com.ibm.rational.test.lt.recorder.core.property.AbstractConfiguration
      extended by com.ibm.rational.test.lt.recorder.core.property.AbstractTypedConfiguration
          extended by com.ibm.rational.test.lt.recorder.core.config.RecorderConfiguration
All Implemented Interfaces:
Serializable, Cloneable

public class RecorderConfiguration
extends AbstractTypedConfiguration

A recorder configuration object, used for holding options related to a recorder.
A configuration is usually produced by a UI component such as a wizard and consumed by a recorder delegate. It contains generic or recorder-specific options that influence the behavior of the recorder, based on the choices made by the user in the UI component.
A configuration contains options, which consist of a name and a value. Basic types are supported for the values: boolean, integer, string, strings list, enum and maps. A configuration can be persisted as an XML document, and it can be reconstructed from the XML using ConfigurationFactory.

See Also:
Serialized Form

Field Summary
static String DEPLOYMENT_MODE
          Enumeration option (of type DeploymentMode) that specifies whether the recorder should be executed locally (in the workbench) or remotely (in a separate VM), if the recorder supports both modes.
static String RECORDER_ACTIVE_ON_STARTUP
          Boolean option that defines whether the recorder is active or paused upon recorder startup.
static String RECORDER_DEBUG_PORT
          Integer option that defines the java debugger port that the recorder should listen to, if launched as a separate process.
static String RECORDER_DEBUG_SUSPEND
          Boolean option that defines whether the java application should wait until a debugger attaches it before starting.
 
Fields inherited from class com.ibm.rational.test.lt.recorder.core.property.AbstractTypedConfiguration
NAME, type
 
Fields inherited from class com.ibm.rational.test.lt.recorder.core.property.AbstractConfiguration
properties
 
Constructor Summary
RecorderConfiguration(String type)
           
 
Method Summary
 RecorderConfiguration clone()
           
protected  String getPreferedPrefix()
           
protected  String getProtocol()
           
 
Methods inherited from class com.ibm.rational.test.lt.recorder.core.property.AbstractTypedConfiguration
getElementName, getId, getNamespace, getType, setId, setType
 
Methods inherited from class com.ibm.rational.test.lt.recorder.core.property.AbstractConfiguration
addChildConfiguration, afterXmlDeserialization, assignUniqueIds, beforeXmlSerialization, cloneProperties, get, getBoolean, getData, getEnum, getInteger, getList, getMap, getObfuscatedList, getObfuscatedString, getPreferedIdPrefixForChild, getString, getString, isOperand, loadAttributes, remove, saveDataToAttachment, serialize, setBoolean, setData, setData, setEnum, setInteger, setList, setMap, setObfuscatedList, setObfuscatedString, setString, toString, write, write, write, writeAttributes, writeChildConfiguration, writeChildConfigurations, writeChildConfigurations
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

RECORDER_ACTIVE_ON_STARTUP

public static final String RECORDER_ACTIVE_ON_STARTUP
Boolean option that defines whether the recorder is active or paused upon recorder startup. Default: true.

See Also:
Constant Field Values

RECORDER_DEBUG_PORT

public static final String RECORDER_DEBUG_PORT
Integer option that defines the java debugger port that the recorder should listen to, if launched as a separate process. If not specified, the recorder is not launched in debug mode.

See Also:
Constant Field Values

RECORDER_DEBUG_SUSPEND

public static final String RECORDER_DEBUG_SUSPEND
Boolean option that defines whether the java application should wait until a debugger attaches it before starting. This option is applicable only if a recorder port has been specified. Its default value is true.

See Also:
Constant Field Values

DEPLOYMENT_MODE

public static final String DEPLOYMENT_MODE
Enumeration option (of type DeploymentMode) that specifies whether the recorder should be executed locally (in the workbench) or remotely (in a separate VM), if the recorder supports both modes. The default value is DeploymentMode.LOCAL. This property is not taken into account if the recorder only supports one execution mode.

See Also:
Constant Field Values
Constructor Detail

RecorderConfiguration

public RecorderConfiguration(String type)
Method Detail

getProtocol

protected String getProtocol()
Specified by:
getProtocol in class AbstractConfiguration

getPreferedPrefix

protected String getPreferedPrefix()
Specified by:
getPreferedPrefix in class AbstractConfiguration

clone

public RecorderConfiguration clone()
Specified by:
clone in class AbstractTypedConfiguration

IBM Rational Performance Tester SDK

© Copyright IBM Corp. 2012. All rights reserved.