public class RecordingSessionConfiguration extends AbstractConfiguration
RecordingConfigurationFactory.| Modifier and Type | Field and Description |
|---|---|
static String |
AUTO_STOP
A boolean specifying whether the session should automatically stop when all clients
are terminated.
|
static String |
CONFIGURATION_FILE_NAME
A string specifying the name of the file that the configuration was loaded from,
if applicable.
|
static String |
ENCRYPTION_PASSPHRASE
A string specifying the pass phrase used to encrypt the recording session content.
|
static String |
LOG_DEBUG_MESSAGES
A boolean specifying that debug messages issued by recording components should be logged
to eclipse error log as information messages.
|
static String |
OBFUSCATE
A boolean specifying that the recording session file should be obfuscated, to prevent plain
strings from being visible by a simple inspection of the file.
|
static String |
REC_SESSION_PATH
A string specifying the generated recmodel path, relative to the workspace.
|
static String |
UPGRADED
A boolean specifying that the session configuration is the result of an upgrade process
from a recmodel to a recsession (i.e. from 8.1.x or previous to 8.2).
|
properties| Constructor and Description |
|---|
RecordingSessionConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addChildConfiguration(AbstractConfiguration config,
String operandName) |
protected void |
afterXmlDeserialization() |
protected void |
beforeXmlSerialization() |
RecordingSessionConfiguration |
clone() |
ClientConfiguration |
getClientConfiguration(String type)
Returns the client configuration defined in the session that has the specified type.
|
List<ClientConfiguration> |
getClientConfigurations() |
List<ClientConfiguration> |
getClientConfigurations(String type)
Returns the client configurations defined in the session configuration with the specified
type.
|
protected String |
getElementName() |
protected String |
getNamespace() |
protected String |
getPreferedPrefix() |
protected String |
getProtocol() |
RecorderClientBindingConfiguration |
getRecorderClientBinding(RecorderConfiguration recorderConfiguration,
ClientConfiguration clientConfiguration)
Returns the recorder-client binding between a specific recorder configuration and a specific client
configuration.
|
List<RecorderClientBindingConfiguration> |
getRecorderClientBindings() |
List<RecorderClientBindingConfiguration> |
getRecorderClientBindings(ClientConfiguration clientConfiguration)
Returns the recorders bindings that are associated to the specified client configuration.
|
List<RecorderClientBindingConfiguration> |
getRecorderClientBindings(RecorderConfiguration recorderConfiguration)
Returns the client bindings that are associated to the specified recorder configuration.
|
RecorderConfiguration |
getRecorderConfiguration(String type)
Returns the recorder configuration defined in the session that has the specified type.
|
List<RecorderConfiguration> |
getRecorderConfigurations() |
List<RecorderConfiguration> |
getRecorderConfigurations(String type)
Returns the recorder configurations defined in the session configuration with the specified
type.
|
protected void |
writeChildConfigurations(javax.xml.stream.XMLStreamWriter writer) |
assignUniqueIds, 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, writeChildConfigurationspublic static final String REC_SESSION_PATH
public static final String CONFIGURATION_FILE_NAME
public static final String AUTO_STOP
true.public static final String UPGRADED
false.public static final String LOG_DEBUG_MESSAGES
false.public static final String ENCRYPTION_PASSPHRASE
RecordingSessionConfiguration.OBFUSCATE.public static final String OBFUSCATE
RecordingSessionConfiguration.ENCRYPTION_PASSPHRASE.public List<RecorderConfiguration> getRecorderConfigurations()
public List<ClientConfiguration> getClientConfigurations()
public List<RecorderClientBindingConfiguration> getRecorderClientBindings()
public List<RecorderConfiguration> getRecorderConfigurations(String type)
type - A recorder type.public RecorderConfiguration getRecorderConfiguration(String type)
type - A recorder type.null if
none were found.public List<RecorderClientBindingConfiguration> getRecorderClientBindings(ClientConfiguration clientConfiguration)
clientConfiguration - A client configuration that belongs to this session.public RecorderClientBindingConfiguration getRecorderClientBinding(RecorderConfiguration recorderConfiguration, ClientConfiguration clientConfiguration)
recorderConfiguration - A recorder configuration that belongs to this session.clientConfiguration - A client configuration that belongs to this session.null if it does not
exist.public List<ClientConfiguration> getClientConfigurations(String type)
type - A client type.public ClientConfiguration getClientConfiguration(String type)
type - A client type.null if
none were found.public List<RecorderClientBindingConfiguration> getRecorderClientBindings(RecorderConfiguration recorderConfiguration)
recorderConfiguration - A recorder configuration that belongs to this session.protected String getElementName()
getElementName in class AbstractConfigurationprotected String getNamespace()
getNamespace in class AbstractConfigurationprotected String getProtocol()
getProtocol in class AbstractConfigurationprotected String getPreferedPrefix()
getPreferedPrefix in class AbstractConfigurationprotected void beforeXmlSerialization()
beforeXmlSerialization in class AbstractConfigurationprotected void writeChildConfigurations(javax.xml.stream.XMLStreamWriter writer) throws javax.xml.stream.XMLStreamException
writeChildConfigurations in class AbstractConfigurationjavax.xml.stream.XMLStreamExceptionprotected void addChildConfiguration(AbstractConfiguration config, String operandName) throws InvalidConfigurationException
addChildConfiguration in class AbstractConfigurationInvalidConfigurationExceptionprotected void afterXmlDeserialization()
afterXmlDeserialization in class AbstractConfigurationpublic RecordingSessionConfiguration clone()
clone in class AbstractConfiguration© Copyright IBM Corp. 2013. All rights reserved.