public interface IRepositoryUpgradeCallback extends IOdiProgressMonitor
Modifier and Type | Interface and Description |
---|---|
static class |
IRepositoryUpgradeCallback.UpgradeStatus
Upgrade status information
|
Modifier and Type | Method and Description |
---|---|
void |
foundWorkrepositoryToProcess(java.util.List pWorkRepositories)
Will be called to provide the list of work repositories found in the master that will be updated.
|
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.
|
void |
topologyUpgradeFinished(IRepositoryUpgradeCallback.UpgradeStatus pUpgradeStatus,
java.lang.Throwable pDetailedErrorForFailures)
This method will be called when topology is finished (successfully or with errors).
|
void |
topologyUpgradeStarted()
This method will be called when topology upgrade starts.
|
void |
workRepositoryInterfaceToMappingFinished(java.lang.String pWorkRepositoryName,
java.util.Map pAllInterfaceMap,
java.util.Map pSuccessMap,
java.util.Map pFailMap)
Will be called when the upgrade process finishes to upgrade all interfaces to mappings in work repository.
|
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.
|
completed, getMessage, getPercentage, isCanceled, isComplete, setCanceled, setMessage, setPercentage
void masterRepositoryUpgradeStarted()
void masterRepositoryUpgradeFinished(IRepositoryUpgradeCallback.UpgradeStatus pUpgradeStatus, java.lang.Throwable pDetailedErrorForFailures)
pUpgradeStatus
- The upgrade status.pDetailedErrorForFailures
- The exception that caused the failure if any. null otherwise.void topologyUpgradeStarted()
void topologyUpgradeFinished(IRepositoryUpgradeCallback.UpgradeStatus pUpgradeStatus, java.lang.Throwable pDetailedErrorForFailures)
pUpgradeStatus
- The upgrade status.pDetailedErrorForFailures
- The exception that caused the failure if any. null otherwise.void foundWorkrepositoryToProcess(java.util.List pWorkRepositories)
pWorkRepositories
- the list of work repository namesvoid workRepositoryUpgradeStarted(java.lang.String pWorkRepositoryName)
pWorkRepositoryName
- the name of the work repository currently processedvoid workRepositoryUpgradeFinished(java.lang.String pWorkRepositoryName, IRepositoryUpgradeCallback.UpgradeStatus pUpgradeStatus, java.lang.Throwable pDetailedErrorForFailures)
pWorkRepositoryName
- the name of the work repository just being processed.pUpgradeStatus
- The result of the upgrade.pDetailedErrorForFailures
- The exception that caused the failure if any. null otherwise.void workRepositoryInterfaceToMappingFinished(java.lang.String pWorkRepositoryName, java.util.Map pAllInterfaceMap, java.util.Map pSuccessMap, java.util.Map pFailMap)
pWorkRepositoryName
- the name of the work repository just being processed.pAllInterfaceMap
- All interfaces with id as key and (name, full path) as value.pSuccessMap
- All successfully upgraded mappings, interface id as key, mapping id as value.pFailMap
- Interfaces which fail to upgrade with interface id as key and Exception as value.