com.ibm.rational.test.lt.recorder.compatibility.upgrade

Class BatchRecmodelUpgrade

  • java.lang.Object
    • com.ibm.rational.test.lt.recorder.compatibility.upgrade.BatchRecmodelUpgrade


  • public class BatchRecmodelUpgrade
    extends Object
    Performs a batch upgrade of recordings produced using RPT <=8., under a specific directory in the workspace. This upgrader keeps upgrading files even if one file fails to be upgraded.
    • Constructor Detail

      • BatchRecmodelUpgrade

        public BatchRecmodelUpgrade(IContainer sourceContainer,
                            IContainer destinationContainer,
                            IBatchRecmodelUpgradeLog log)
        Instantiates a new batch upgrader.
        Parameters:
        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.
    • Method Detail

      • upgrade

        public void upgrade(IProgressMonitor monitor)
        Performs the batch upgrade. The result of the operation can be inferred from the log.
        Parameters:
        monitor -
      • shouldUpgrade

        protected boolean shouldUpgrade(IFile file)
IBM Rational Performance Tester SDK

© Copyright IBM Corp. 2013. All rights reserved.