Skip navigation links

Oracle® Data Integrator Java API Reference
11g Release 1 (11.1.1.6.0)

E17060-03


oracle.odi.setup
Class RepositoryUpgradeReport

java.lang.Object
  extended by oracle.odi.setup.RepositoryUpgradeReport

All Implemented Interfaces:
IRepositoryUpgradeCallback

public class RepositoryUpgradeReport
extends java.lang.Object
implements IRepositoryUpgradeCallback

Implementation of IRepositoryUpgradeCallback that builds a report from the events.

Since:
11.1.1.5.0

Nested Class Summary

 

Nested classes/interfaces inherited from interface oracle.odi.setup.IRepositoryUpgradeCallback
IRepositoryUpgradeCallback.UpgradeStatus

 

Constructor Summary
RepositoryUpgradeReport()
           

 

Method Summary
 void foundWorkrepositoryToProcess(java.util.List<java.lang.String> pWorkRepositories)
          Will be called to provide the list of work repositories found in the master that will be updated.
 java.lang.Throwable getMasterUpgradeException()
           
 IRepositoryUpgradeCallback.UpgradeStatus getMasterUpgradeStatus()
           
 java.util.Set<java.lang.String> getWorkRepositoryNames()
          Return the Set of repository names upgraded.
 java.lang.Throwable getWorkUpgradeException(java.lang.String pName)
           
 IRepositoryUpgradeCallback.UpgradeStatus getWorkUpgradeStatus(java.lang.String pName)
           
 void masterRepositoryUpgradeFinished(IRepositoryUpgradeCallback.UpgradeStatus pUpgradeStatus, java.lang.Throwable pDetailedErrorForFailures)
          This method will be called when master repository is finished (successfully or with errors).
 void masterRepositoryUpgradeStarted()
          This method will be called when master repository upgrade starts.
 java.lang.String toString()
           
 void workRepositoryUpgradeFinished(java.lang.String pWorkRepositoryName, IRepositoryUpgradeCallback.UpgradeStatus pUpgradeStatus, java.lang.Throwable pDetailedErrorForFailures)
          Will be called when the upgrade process finishes to upgrade a work repository (successfully or with errors).
 void workRepositoryUpgradeStarted(java.lang.String pWorkRepositoryName)
          Will be called when the upgrade process starts to upgrade a work repository.

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Constructor Detail

RepositoryUpgradeReport

public RepositoryUpgradeReport()

Method Detail

foundWorkrepositoryToProcess

public void foundWorkrepositoryToProcess(java.util.List<java.lang.String> pWorkRepositories)
Description copied from interface: IRepositoryUpgradeCallback
Will be called to provide the list of work repositories found in the master that will be updated.
Specified by:
foundWorkrepositoryToProcess in interface IRepositoryUpgradeCallback
Parameters:
pWorkRepositories - the list of work repository names

masterRepositoryUpgradeFinished

public void masterRepositoryUpgradeFinished(IRepositoryUpgradeCallback.UpgradeStatus pUpgradeStatus,
                                            java.lang.Throwable pDetailedErrorForFailures)
Description copied from interface: IRepositoryUpgradeCallback
This method will be called when master repository is finished (successfully or with errors).
Specified by:
masterRepositoryUpgradeFinished in interface IRepositoryUpgradeCallback
Parameters:
pUpgradeStatus - The upgrade status.
pDetailedErrorForFailures - The exception that caused the failure if any. null otherwise.

masterRepositoryUpgradeStarted

public void masterRepositoryUpgradeStarted()
Description copied from interface: IRepositoryUpgradeCallback
This method will be called when master repository upgrade starts.
Specified by:
masterRepositoryUpgradeStarted in interface IRepositoryUpgradeCallback

workRepositoryUpgradeFinished

public void workRepositoryUpgradeFinished(java.lang.String pWorkRepositoryName,
                                          IRepositoryUpgradeCallback.UpgradeStatus pUpgradeStatus,
                                          java.lang.Throwable pDetailedErrorForFailures)
Description copied from interface: IRepositoryUpgradeCallback
Will be called when the upgrade process finishes to upgrade a work repository (successfully or with errors).
Specified by:
workRepositoryUpgradeFinished in interface IRepositoryUpgradeCallback
Parameters:
pWorkRepositoryName - the name of the work repository just beeing processed.
pUpgradeStatus - The result of the upgrade.
pDetailedErrorForFailures - The exception that caused the failure if any. null otherwise.

workRepositoryUpgradeStarted

public void workRepositoryUpgradeStarted(java.lang.String pWorkRepositoryName)
Description copied from interface: IRepositoryUpgradeCallback
Will be called when the upgrade process starts to upgrade a work repository.
Specified by:
workRepositoryUpgradeStarted in interface IRepositoryUpgradeCallback
Parameters:
pWorkRepositoryName - the name of the work repository currently processed

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getWorkRepositoryNames

public java.util.Set<java.lang.String> getWorkRepositoryNames()
Return the Set of repository names upgraded.
Returns:
the set of upgraded work repository names repositories.

getMasterUpgradeStatus

public IRepositoryUpgradeCallback.UpgradeStatus getMasterUpgradeStatus()

getMasterUpgradeException

public java.lang.Throwable getMasterUpgradeException()

getWorkUpgradeStatus

public IRepositoryUpgradeCallback.UpgradeStatus getWorkUpgradeStatus(java.lang.String pName)

getWorkUpgradeException

public java.lang.Throwable getWorkUpgradeException(java.lang.String pName)

Skip navigation links

Oracle® Data Integrator Java API Reference
11g Release 1 (11.1.1.6.0)

E17060-03


Copyright © 2011, Oracle and/or its affiliates. All rights reserved.