TPTP 4.4.0 Testing Tools Project
Public API Specification

org.eclipse.hyades.execution.recorder.remote
Class RecorderEnvironmentAdapter

java.lang.Object
  extended byorg.eclipse.hyades.execution.recorder.remote.RecorderEnvironmentAdapter
Direct Known Subclasses:
HttpRecorderAgentEnvironmentAdapter

public abstract class RecorderEnvironmentAdapter
extends java.lang.Object

object to be implemented by objects which will setup the execution environment for a recorder


Field Summary
protected  java.lang.String deploymentPath
           
 
Constructor Summary
RecorderEnvironmentAdapter()
           
 
Method Summary
protected abstract  java.lang.String getClassPathEntry()
          Deprecated.  
protected  java.lang.String getClassPathEntry(java.lang.String deployPath)
          Sets the deploymentPath, then calls getClassPathEntry(String).
 java.lang.String getDeploymentPath()
           
 java.io.File[] getRecorderJARs()
          required for deployment.
 void setupExecutionEnvironment(org.eclipse.hyades.execution.core.IExecutionEnvironment env, java.lang.String deployPath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

deploymentPath

protected java.lang.String deploymentPath
Constructor Detail

RecorderEnvironmentAdapter

public RecorderEnvironmentAdapter()
Method Detail

getClassPathEntry

protected java.lang.String getClassPathEntry(java.lang.String deployPath)
Sets the deploymentPath, then calls getClassPathEntry(String). This is called directly by the recorder framework. It is adviseable for new implementors to override this method, rather than using the abstract class, which is deprecated and will be removed in TPTP 5.

Parameters:
deployPath -
Returns:

getClassPathEntry

protected abstract java.lang.String getClassPathEntry()
Deprecated.  

This method has been retained so as not to break API. As of TPTP 4.1, framework calls getClassPathEntry(String), where String is the path to the directory of files to deploy To determine the classpath of the deployed files, call getDeploymentPath(). It is adviseable for new implementors to override the getClassPathEntry(String) method, rather than using the abstract class, which is deprecated and will be removed in TPTP 5.

Returns:

getRecorderJARs

public java.io.File[] getRecorderJARs()
required for deployment. Returns an array of java.io.File objects to be deployed.

Returns:

setupExecutionEnvironment

public void setupExecutionEnvironment(org.eclipse.hyades.execution.core.IExecutionEnvironment env,
                                      java.lang.String deployPath)
                               throws java.io.IOException
Throws:
java.io.IOException

getDeploymentPath

public java.lang.String getDeploymentPath()
Returns:
Returns the deploymentPath.

TPTP 4.4.0 Testing Tools Project
Public API Specification