onInfobaseChanges
boolean onInfobaseChanges(org.eclipse.core.resources.IProject project,
InfobaseReference infobase,
Set<org.eclipse.emf.ecore.EObject> projectChanges,
IInfobaseConfigurationChange infobaseChange,
IInfobaseUpdateConflictResolver conflictResolver,
IInfobaseUpdateConflictResolver.IConflictResolveAssist assist,
org.eclipse.core.runtime.IProgressMonitor monitor)
throws InfobaseSynchronizationException
Resolve conflict the provided project changes with the infobase configuration changes. Clients need to
implement using provided resolver and resolve assint and then return true
whether conflict is
resolved or false
if resolve was unsuccessful or been cancelled.
- Parameters:
project
- the project to update infobase for, cannot be null
infobase
- the updating infobase, cannot be null
projectChanges
- the project metadata object changes, cannot be null
infobaseChange
- the infobase configuration changes, cannot be null
conflictResolver
- the conflict resolver to use to resolve conflict, cannot be null
assist
- the resolve conflict assist to provide to conflict resolver, cannot be null
monitor
- the progress monitor to report progress to, cannot be null
- Returns:
true
whether conflict is resolved or false
if resolve was unsuccessful or has been
cancelled
- Throws:
InfobaseSynchronizationException
- if a conflict resolve error occurred
- See Also:
IInfobaseConfigurationChange
,
IInfobaseUpdateConflictResolver