public class BatchRecmodelUpgrade extends Object
Constructor and Description |
---|
BatchRecmodelUpgrade(IContainer sourceContainer,
IContainer destinationContainer,
IBatchRecmodelUpgradeLog log)
Instantiates a new batch upgrader.
|
Modifier and Type | Method and Description |
---|---|
static void |
recurseCreate(IContainer container) |
protected boolean |
shouldUpgrade(IFile file) |
void |
upgrade(IProgressMonitor monitor)
Performs the batch upgrade.
|
public BatchRecmodelUpgrade(IContainer sourceContainer, IContainer destinationContainer, IBatchRecmodelUpgradeLog log)
sourceContainer
- The container where legacy recordings should be searched.destinationContainer
- The container where corresponding upgraded recordings should be
written. Files will be saved using the same hierarchy as the one found under sourceContainer.
This container may be identical to sourceContainer.log
- A log instance where where any message produced by the upgrade operation will be logged.public void upgrade(IProgressMonitor monitor)
monitor
- protected boolean shouldUpgrade(IFile file)
public static void recurseCreate(IContainer container) throws CoreException
CoreException
© Copyright IBM Corp. 2013. All rights reserved.