|
TPTP 4.1.0 Testing Tools Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.hyades.execution.recorder.Recorder
Contains all information and/or instantiated objects related to a recorder This object is managed by RecorderFactory and is automatically registred with the factory upon intial creation. Attempting to instantiate an object with a given ID more than once will result in an exception
| Field Summary | |
|---|---|
protected IRecorderDataProcessor |
dataProcessor
the IRecorderDataProcessor which handles incoming data from the Agent Controller |
protected RecorderEnvironmentAdapter |
environmentAdapter
environment Adapter which may append the execution environment's classpath, etc. |
protected java.lang.String |
id
the recorder's ID. |
| Constructor Summary | |
|---|---|
Recorder(java.lang.String recorderID)
|
|
Recorder(java.lang.String recorderID,
IRecorderDataProcessor dataProcessor,
RecorderEnvironmentAdapter agentEnvironmentAdapter,
RecorderExecutableObjectAdapter objectAdapter)
Deprecated. Generic Recorder Framework will create the data processor & agent adapters. Use Recorder(String) |
|
| Method Summary | |
|---|---|
boolean |
annotateRecording(java.lang.String msg)
Mechanism to send a message to the recorder agent, presumably to add additional user-directed information to the recording The interpretation of this message is left up to the consuming Recorder |
RecorderEnvironmentAdapter |
getAgentEnvironmentAdapter()
returns the recorders environmen adapter |
java.lang.String |
getApplicationAdapterID()
returns the ID of the recorder application adapter to be used with this recorder. |
java.lang.String |
getConfigParams()
gets the recorders configuration parameter string |
IRecorderDataProcessor |
getDataProcessor()
returns the recorders IRecorderDataProcessor |
RecorderExecutableObjectAdapter |
getExecutableObjectAdapter()
returns a reference to the recorders RecorderExecutableObjectAdapter |
java.lang.String |
getId()
returns the recorders ID. |
java.lang.String |
getRecordingPath()
returns the path for the resulting trace file (set at runtime) |
java.lang.String |
getScriptgenID()
returns the ID of the registred script generator which is to be used with this recorder for the current recording session. |
java.lang.String |
getTestPath()
returns the path for the test which will be generated at the conclusion of this recording |
boolean |
isActive()
returns true if this recorder is currently active |
org.eclipse.hyades.internal.execution.recorder.local.RecorderClient |
Record()
Deprecated. - highly advisable to pass a IProgressMonitor |
org.eclipse.hyades.internal.execution.recorder.local.RecorderClient |
Record(org.eclipse.core.runtime.IProgressMonitor monitor)
called to initiate a recording with this recording. |
void |
setActive(boolean isActive)
called to modify the active status of this recorder |
void |
setApplicationAdapterID(java.lang.String appAdapterID)
sets the ID of the application adapter that will be used with this recorder. |
void |
setConfigParams(java.lang.String string)
Sets the recoders configuration parameter String which will be passed to the recorder's agent object. |
void |
setRecordingPath(java.lang.String recPath)
sets the path for the trace file generated by the current recording session. |
void |
setScriptgenID(java.lang.String scriptGenID)
sets the ID of the script generator to be used for this recording session. |
void |
setTestPath(java.lang.String string)
sets teh path for the test which will be generated at the conclusion of the current recording session. |
void |
stopRecorder()
called to stop a recorder. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.lang.String id
protected RecorderEnvironmentAdapter environmentAdapter
protected IRecorderDataProcessor dataProcessor
IRecorderDataProcessor| Constructor Detail |
public Recorder(java.lang.String recorderID,
IRecorderDataProcessor dataProcessor,
RecorderEnvironmentAdapter agentEnvironmentAdapter,
RecorderExecutableObjectAdapter objectAdapter)
throws RecorderException
RecorderException
public Recorder(java.lang.String recorderID)
throws RecorderException
| Method Detail |
public RecorderEnvironmentAdapter getAgentEnvironmentAdapter()
RecorderEnvironmentAdapterpublic IRecorderDataProcessor getDataProcessor()
IRecorderDataProcessorpublic java.lang.String getId()
public org.eclipse.hyades.internal.execution.recorder.local.RecorderClient Record(org.eclipse.core.runtime.IProgressMonitor monitor)
throws RecorderException
RecorderException
public org.eclipse.hyades.internal.execution.recorder.local.RecorderClient Record()
throws RecorderException
RecorderExceptionpublic java.lang.String getConfigParams()
public void setConfigParams(java.lang.String string)
public RecorderExecutableObjectAdapter getExecutableObjectAdapter()
public java.lang.String getApplicationAdapterID()
public void setApplicationAdapterID(java.lang.String appAdapterID)
public java.lang.String getRecordingPath()
public java.lang.String getScriptgenID()
public void setScriptgenID(java.lang.String scriptGenID)
public void setRecordingPath(java.lang.String recPath)
public java.lang.String getTestPath()
public void setTestPath(java.lang.String string)
string - public void stopRecorder()
public boolean isActive()
public void setActive(boolean isActive)
public boolean annotateRecording(java.lang.String msg)
msg -
|
TPTP 4.1.0 Testing Tools Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||