Package com.hp.lft.sdk
Class ModifiableSDKConfiguration
java.lang.Object
com.hp.lft.sdk.ModifiableSDKConfiguration
- All Implemented Interfaces:
- SDKConfiguration
Interface for defining the configuration information for the SDK.
- 
Constructor SummaryConstructorsConstructorDescriptionInitializes a new instance of the ModifiableSDKConfiguration class, initialized to default values.
- 
Method SummaryModifier and TypeMethodDescriptionbooleanIndicates whether the runtime engine is set to launch on OpenText Functional Testing for Developers SDK initialization.intReturns the maximum time (in seconds) to try to connect to the runtime engine.intReturns the maximum time (in seconds) to wait for a response to any command sent to the runtime engine.Returns the the SDK run mode.Returns the runtime engine URL to use for the default session.voidsetAutoLaunch(boolean autoLaunch) Sets whether the runtime engine is set to launch on OpenText Functional Testing for Developers SDK initialization.voidsetConnectTimeoutSeconds(int connectTimeoutSeconds) Sets the maximum time (in seconds) to try to connect to the runtime engine.voidsetResponseTimeoutSeconds(int responseTimeoutSeconds) Sets the maximum time (in seconds) to wait for a response to any command sent to the runtime engine.voidsetSDKMode(SDKMode sdkMode) Sets the SDK run mode.voidsetServerAddress(URI serverAddress) Sets the runtime engine URL to use for the default session.
- 
Constructor Details- 
ModifiableSDKConfigurationInitializes a new instance of the ModifiableSDKConfiguration class, initialized to default values.- Throws:
- URISyntaxException- if the syntax of the URI is invalid.
 
 
- 
- 
Method Details- 
getServerAddressDescription copied from interface:SDKConfigurationReturns the runtime engine URL to use for the default session.- Specified by:
- getServerAddressin interface- SDKConfiguration
- Returns:
- the runtime engine URL to use for the default session.
 
- 
getConnectTimeoutSecondspublic int getConnectTimeoutSeconds()Description copied from interface:SDKConfigurationReturns the maximum time (in seconds) to try to connect to the runtime engine.- Specified by:
- getConnectTimeoutSecondsin interface- SDKConfiguration
- Returns:
- the maximum time (in seconds) to try to connect to the runtime engine.
 
- 
getResponseTimeoutSecondspublic int getResponseTimeoutSeconds()Description copied from interface:SDKConfigurationReturns the maximum time (in seconds) to wait for a response to any command sent to the runtime engine.- Specified by:
- getResponseTimeoutSecondsin interface- SDKConfiguration
- Returns:
- the maximum response wait time in seconds.
 
- 
getAutoLaunchpublic boolean getAutoLaunch()Description copied from interface:SDKConfigurationIndicates whether the runtime engine is set to launch on OpenText Functional Testing for Developers SDK initialization. Note: Relevant only for local runs. When running remotely, the value should be false.- Specified by:
- getAutoLaunchin interface- SDKConfiguration
- Returns:
- true if the runtime engine is set to launch on OpenText Functional Testing for Developers SDK initialization, false otherwise.
 
- 
getSDKModeDescription copied from interface:SDKConfigurationReturns the the SDK run mode.- Specified by:
- getSDKModein interface- SDKConfiguration
- Returns:
- the current SDK mode.
 
- 
setServerAddressSets the runtime engine URL to use for the default session.- Parameters:
- serverAddress- the runtime engine URL to use.
 
- 
setConnectTimeoutSecondspublic void setConnectTimeoutSeconds(int connectTimeoutSeconds) Sets the maximum time (in seconds) to try to connect to the runtime engine.- Parameters:
- connectTimeoutSeconds- the maximum time (in seconds) to try to connect to the runtime engine.
 
- 
setResponseTimeoutSecondspublic void setResponseTimeoutSeconds(int responseTimeoutSeconds) Sets the maximum time (in seconds) to wait for a response to any command sent to the runtime engine.- Parameters:
- responseTimeoutSeconds- the response timeout in seconds.
 
- 
setAutoLaunchpublic void setAutoLaunch(boolean autoLaunch) Sets whether the runtime engine is set to launch on OpenText Functional Testing for Developers SDK initialization. Note: Relevant only for local runs. When running remotely, the value should be false.- Parameters:
- autoLaunch- true to launch LFTRuntime.exe automatically, false otherwise.
 
- 
setSDKModeSets the SDK run mode. Possible values:SDKMode. Default = Replay.- Parameters:
- sdkMode- the mode the SDK will use during the run.
 
 
-