TPTP 4.3.0 Testing Tools Project
Public API Specification

org.eclipse.tptp.test.provisional.recorder.framework
Class AbstractRecorderExecOptionsProvider

java.lang.Object
  extended byorg.eclipse.tptp.test.provisional.recorder.framework.AbstractRecorderExecOptionsProvider
All Implemented Interfaces:
IRecorderExecOptionsProvider, IRecorderProvider

public abstract class AbstractRecorderExecOptionsProvider
extends java.lang.Object
implements IRecorderExecOptionsProvider

Abstract extension of an IRecorderExecOptionsProvider. The following methods must be extended by using classes. public String getVMArgs(); public String getClasspathEntries(); public File[] getRecorderJars();


Field Summary
protected  Recorder recorder
           
 
Constructor Summary
AbstractRecorderExecOptionsProvider()
           
 
Method Summary
 java.lang.String getExtraClasspathEntries()
          Adds additional entries to agent's CLASSPATH.
 Recorder getRecorder()
           
 java.lang.String getRecorderID()
           
 java.io.File[] getRecorderJars()
          returns jars to be deployed on the agent controller, and added to the agent's classpath
 java.lang.String getVMArgs()
           
 void setRecorder(Recorder recorder)
          Sets a Recorder object.
 void setRecorder(java.lang.String id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

recorder

protected Recorder recorder
Constructor Detail

AbstractRecorderExecOptionsProvider

public AbstractRecorderExecOptionsProvider()
Method Detail

getRecorder

public Recorder getRecorder()
Specified by:
getRecorder in interface IRecorderProvider

getRecorderID

public java.lang.String getRecorderID()
Specified by:
getRecorderID in interface IRecorderProvider

setRecorder

public void setRecorder(java.lang.String id)
Specified by:
setRecorder in interface IRecorderProvider

setRecorder

public void setRecorder(Recorder recorder)
Description copied from interface: IRecorderProvider
Sets a Recorder object. Provided for compatibility with old recorder framework.

Specified by:
setRecorder in interface IRecorderProvider
Parameters:
recorder -

getExtraClasspathEntries

public java.lang.String getExtraClasspathEntries()
Description copied from interface: IRecorderExecOptionsProvider
Adds additional entries to agent's CLASSPATH. DO NOT include the deployed JARs listed in getRecorderJars()

Specified by:
getExtraClasspathEntries in interface IRecorderExecOptionsProvider
Returns:
a semicolon delimited list which is to be added to the CLASSPATH

getVMArgs

public java.lang.String getVMArgs()
Specified by:
getVMArgs in interface IRecorderExecOptionsProvider

getRecorderJars

public java.io.File[] getRecorderJars()
Description copied from interface: IRecorderExecOptionsProvider
returns jars to be deployed on the agent controller, and added to the agent's classpath

Specified by:
getRecorderJars in interface IRecorderExecOptionsProvider
Returns:
an array of java.io.Files. The File should have a full path, not a relative path.

TPTP 4.3.0 Testing Tools Project
Public API Specification