TPTP 4.3.0 Testing Tools Project
Public API Specification

org.eclipse.hyades.execution.recorder.local.appadapters
Class FirefoxAdapter

java.lang.Object
  extended byorg.eclipse.hyades.execution.recorder.local.appadapters.FirefoxAdapter
All Implemented Interfaces:
IRecorderApplicationAdapter

Deprecated. This is not public API. It will be moved to internal in TPTP 5

public class FirefoxAdapter
extends java.lang.Object
implements IRecorderApplicationAdapter

This object is the client object for a RecorderApplication extension point (point org.eclipse.hyades.execution.recorder.RecorderApplication) it contains logic for initializing, starting, and stopping Firefox. In particular, this object is able to modify user preference settings to cause Firefox to use a particular host and port for proxy recording. .


Field Summary
 int AUTO_CONFIG_URL
          Deprecated.  
static java.lang.String extensionID
          Deprecated.  
 int HTTP_PROXY_ONLY_SET
          Deprecated.  
 int HTTP_PROXY_OVERRIDE
          Deprecated.  
 int HTTP_SECURE_LOCALHOST
          Deprecated.  
 int HTTP_SECURE_MISMATCH
          Deprecated.  
 FirefoxPrefs myMozDefaultPrefs
          Deprecated.  
 FirefoxPrefs myMozUserPrefs
          Deprecated.  
static java.lang.String PREFERENCE_PATH
          Deprecated.  
 FirefoxPrefs prefsToUse
          Deprecated.  
 int PROXY_SETTINGS_OK
          Deprecated.  
 java.lang.String recorderPathFileName
          Deprecated.  
 java.lang.String RecorderPathFileStr
          Deprecated.  
 int SECURE_PROXY_ONLY_SET
          Deprecated.  
 int SOCKS_SET
          Deprecated.  
 
Constructor Summary
FirefoxAdapter()
          Deprecated.  
 
Method Summary
 void cleanup()
          Deprecated. method called to restore the process back to its original state
 java.lang.String getApplicationPath()
          Deprecated. Method for returning the fully-qualified executable path to the application, or null if this is N/A
 java.lang.String getDefaultApplicationPath()
          Deprecated.  
 java.lang.String getInitString()
          Deprecated. called by the recorder to acquire the adapters init string for passing to the agent side of the rac
 java.lang.StringBuffer getRecFileContent(java.lang.String recFilePath)
          Deprecated.  
 void init(java.lang.String initInfo)
          Deprecated.  
 java.lang.String scanRecFileContent(java.lang.StringBuffer recFileContents)
          Deprecated.  
 void setApplicationPath(java.lang.String str)
          Deprecated. Sets & stores the new application path.
 void setInitString(java.lang.String initString)
          Deprecated. API for setting initialization info for the application adapter.
 java.lang.Process start()
          Deprecated. method called by the recorder to start the target application (Internet Explorer)
 void stop()
          Deprecated. method called to stop the target process.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

prefsToUse

public FirefoxPrefs prefsToUse
Deprecated. 

myMozDefaultPrefs

public FirefoxPrefs myMozDefaultPrefs
Deprecated. 

myMozUserPrefs

public FirefoxPrefs myMozUserPrefs
Deprecated. 

RecorderPathFileStr

public java.lang.String RecorderPathFileStr
Deprecated. 

recorderPathFileName

public java.lang.String recorderPathFileName
Deprecated. 

PREFERENCE_PATH

public static final java.lang.String PREFERENCE_PATH
Deprecated. 
See Also:
Constant Field Values

extensionID

public static final java.lang.String extensionID
Deprecated. 
See Also:
Constant Field Values

PROXY_SETTINGS_OK

public final int PROXY_SETTINGS_OK
Deprecated. 
See Also:
Constant Field Values

SOCKS_SET

public final int SOCKS_SET
Deprecated. 
See Also:
Constant Field Values

HTTP_PROXY_ONLY_SET

public final int HTTP_PROXY_ONLY_SET
Deprecated. 
See Also:
Constant Field Values

SECURE_PROXY_ONLY_SET

public final int SECURE_PROXY_ONLY_SET
Deprecated. 
See Also:
Constant Field Values

HTTP_SECURE_MISMATCH

public final int HTTP_SECURE_MISMATCH
Deprecated. 
See Also:
Constant Field Values

HTTP_SECURE_LOCALHOST

public final int HTTP_SECURE_LOCALHOST
Deprecated. 
See Also:
Constant Field Values

HTTP_PROXY_OVERRIDE

public final int HTTP_PROXY_OVERRIDE
Deprecated. 
See Also:
Constant Field Values

AUTO_CONFIG_URL

public final int AUTO_CONFIG_URL
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

FirefoxAdapter

public FirefoxAdapter()
Deprecated. 
Method Detail

init

public void init(java.lang.String initInfo)
          throws RecorderApplicationAdapterException
Deprecated. 
Specified by:
init in interface IRecorderApplicationAdapter
Throws:
RecorderApplicationAdapterException

getRecFileContent

public java.lang.StringBuffer getRecFileContent(java.lang.String recFilePath)
Deprecated. 

scanRecFileContent

public java.lang.String scanRecFileContent(java.lang.StringBuffer recFileContents)
Deprecated. 

start

public java.lang.Process start()
                        throws RecorderApplicationAdapterException
Deprecated. 
method called by the recorder to start the target application (Internet Explorer)

Specified by:
start in interface IRecorderApplicationAdapter
Returns:
Process
Throws:
RecorderApplicationAdapterException

cleanup

public void cleanup()
             throws RecorderApplicationAdapterException
Deprecated. 
method called to restore the process back to its original state

Specified by:
cleanup in interface IRecorderApplicationAdapter
Throws:
RecorderApplicationAdapterException

stop

public void stop()
          throws RecorderApplicationAdapterException
Deprecated. 
method called to stop the target process.

Specified by:
stop in interface IRecorderApplicationAdapter
Throws:
RecorderApplicationAdapterException

setInitString

public void setInitString(java.lang.String initString)
Deprecated. 
Description copied from interface: IRecorderApplicationAdapter
API for setting initialization info for the application adapter. This information can be anything as long as the adapter understand it. The adapter may have it's own preference page for acquiring this information from the user. example: port,450;host,localhost

Specified by:
setInitString in interface IRecorderApplicationAdapter

getInitString

public java.lang.String getInitString()
Deprecated. 
called by the recorder to acquire the adapters init string for passing to the agent side of the rac

Specified by:
getInitString in interface IRecorderApplicationAdapter

getApplicationPath

public java.lang.String getApplicationPath()
Deprecated. 
Description copied from interface: IRecorderApplicationAdapter
Method for returning the fully-qualified executable path to the application, or null if this is N/A

Specified by:
getApplicationPath in interface IRecorderApplicationAdapter
Returns:
String

getDefaultApplicationPath

public java.lang.String getDefaultApplicationPath()
Deprecated. 

setApplicationPath

public void setApplicationPath(java.lang.String str)
Deprecated. 
Description copied from interface: IRecorderApplicationAdapter
Sets & stores the new application path. Implementor is responsible for saving this data (via preferences) and ensuring that getApplicationPath() always returns this new data.

Specified by:
setApplicationPath in interface IRecorderApplicationAdapter

TPTP 4.3.0 Testing Tools Project
Public API Specification