com.ibm.rational.test.lt.recorder.core.config
Class ClientConfiguration
java.lang.Object
com.ibm.rational.test.lt.recorder.core.property.AbstractConfiguration
com.ibm.rational.test.lt.recorder.core.property.AbstractTypedConfiguration
com.ibm.rational.test.lt.recorder.core.config.ClientConfiguration
- All Implemented Interfaces:
- Serializable, Cloneable
public class ClientConfiguration
- extends AbstractTypedConfiguration
A client configuration object, used for holding options related to a client.
A configuration is usually produced by a UI component such as a wizard
and consumed by a client delegate. It contains generic or client-specific options that influence
the behavior of client, 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 and strings list.
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 |
CLIENT_DEBUG_PORT
Integer option that defines the java debugger port that the client should listen to,
if launched as a separate process. |
static String |
CLIENT_DEBUG_SUSPEND
Boolean option that defines whether the java application should wait until a debugger attaches
it before starting. |
static String |
DEPLOYMENT_MODE
Enumeration option (of type DeploymentMode ) that specifies whether the
client should be executed locally (in the workbench) or remotely (in a separate
VM), if the client supports both modes. |
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 |
CLIENT_DEBUG_PORT
public static final String CLIENT_DEBUG_PORT
- Integer option that defines the java debugger port that the client 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
CLIENT_DEBUG_SUSPEND
public static final String CLIENT_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
client should be executed locally (in the workbench) or remotely (in a separate
VM), if the client supports both modes. The default value is
DeploymentMode.LOCAL
. This property is not taken into account if the
client only supports one execution mode.
- See Also:
- Constant Field Values
ClientConfiguration
public ClientConfiguration(String type)
getProtocol
protected String getProtocol()
- Specified by:
getProtocol
in class AbstractConfiguration
getPreferedPrefix
protected String getPreferedPrefix()
- Specified by:
getPreferedPrefix
in class AbstractConfiguration
clone
public ClientConfiguration clone()
- Specified by:
clone
in class AbstractTypedConfiguration
© Copyright IBM Corp. 2012. All rights reserved.