|
IBM Rational Performance Tester SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.rational.test.lt.recorder.compatibility.upgrade.RecModelUpgrader
public class RecModelUpgrader
Upgrader used for converting RPT <= 8.1 .recmodel format to 8.2 .recsession files. This class also handles upgrading of .rec files produced by the HTTP extension in RPT <= 8.1.
Constructor Summary | |
---|---|
RecModelUpgrader(IFile oldFile,
IBatchRecmodelUpgradeLog log)
Instantiates an upgrader for a recording produced by a previous RPT release. |
Method Summary | |
---|---|
void |
logWarning(String message)
Logs a warning message. |
IStatus |
upgrade(IFile newFile,
IProgressMonitor monitor)
Converts the recording to a new recording session file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RecModelUpgrader(IFile oldFile, IBatchRecmodelUpgradeLog log)
oldFile
- A recording (.recmodel or .rec) produced by a previous RPT release.log
- A log instance where where any message produced by the upgrade operation will be logged.Method Detail |
---|
public IStatus upgrade(IFile newFile, IProgressMonitor monitor)
newFile
- A file that will receive the upgrade result. This file will be
overwritten if it already exists.monitor
- A progress monitor for monitoring progress, and asking cancellation.
IStatus.OK
if upgrade was successful or
IStatus.ERROR
if upgrade did not complete.public void logWarning(String message)
IRecModelUpgradeLog
logWarning
in interface IRecModelUpgradeLog
message
- A warning message (should be translated to the current locale).
|
IBM Rational Performance Tester SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |