public class RecModelUpgrader extends Object implements IRecModelUpgradeLog
| Constructor and Description |
|---|
RecModelUpgrader(IFile oldFile,
IBatchRecmodelUpgradeLog log)
Instantiates an upgrader for a recording produced by a previous RPT release.
|
| Modifier and Type | Method and Description |
|---|---|
void |
logWarning(String message)
Logs a warning message.
|
IStatus |
upgrade(IFile newFile,
IProgressMonitor monitor)
Converts the recording to a new recording session file.
|
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.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)
IRecModelUpgradeLoglogWarning in interface IRecModelUpgradeLogmessage - A warning message (should be translated to the current locale).© Copyright IBM Corp. 2013. All rights reserved.