Interface IInfobaseUpdateConflictResolver
-
public interface IInfobaseUpdateConflictResolver
Infobase update conflict resolver may be used to resolves conflict between possible project changes and infobase configuration changes.- See Also:
IInfobaseUpdateCallback
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
IInfobaseUpdateConflictResolver.IConflictResolveAssist
Conflict resolve assist to allow conflict resolver to operate with infobase configuration changes.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
overrideConflict(org.eclipse.core.resources.IProject project, InfobaseReference infobase, Set<org.eclipse.emf.ecore.EObject> projectChanges, IInfobaseConfigurationChange infobaseChange, IInfobaseUpdateConflictResolver.IConflictResolveAssist assist, org.eclipse.core.runtime.IProgressMonitor monitor)
Overrides an infobase changes with EDT project metadata objects state.boolean
resolveConflict(org.eclipse.core.resources.IProject project, InfobaseReference infobase, Set<org.eclipse.emf.ecore.EObject> projectChanges, IInfobaseConfigurationChange infobaseChange, IInfobaseUpdateConflictResolver.IConflictResolveAssist assist, org.eclipse.core.runtime.IProgressMonitor monitor)
Resolves a conflict between possible project changes and infobase configuration changes with priority to infobase changes.
-
-
-
Method Detail
-
resolveConflict
boolean resolveConflict(org.eclipse.core.resources.IProject project, InfobaseReference infobase, Set<org.eclipse.emf.ecore.EObject> projectChanges, IInfobaseConfigurationChange infobaseChange, IInfobaseUpdateConflictResolver.IConflictResolveAssist assist, org.eclipse.core.runtime.IProgressMonitor monitor) throws InfobaseSynchronizationException
Resolves a conflict between possible project changes and infobase configuration changes with priority to infobase changes.- Parameters:
project
- the project to update infobase for, cannot benull
infobase
- the updating infobase, cannot benull
projectChanges
- the project metadata object changes, cannot benull
infobaseChange
- the infobase configuration changes, cannot benull
assist
- the resolve conflict assist to provide to conflict resolver, cannot benull
monitor
- the progress monitor to report progress to, cannot benull
- Returns:
true
whether conflict is resolved orfalse
if resolve was unsuccessful or has been cancelled- Throws:
InfobaseSynchronizationException
- if a conflict resolve error occurred
-
overrideConflict
boolean overrideConflict(org.eclipse.core.resources.IProject project, InfobaseReference infobase, Set<org.eclipse.emf.ecore.EObject> projectChanges, IInfobaseConfigurationChange infobaseChange, IInfobaseUpdateConflictResolver.IConflictResolveAssist assist, org.eclipse.core.runtime.IProgressMonitor monitor) throws InfobaseSynchronizationException
Overrides an infobase changes with EDT project metadata objects state.- Parameters:
project
- the project to update infobase for, cannot benull
infobase
- the updating infobase, cannot benull
projectChanges
- the project metadata object changes, cannot benull
infobaseChange
- the infobase configuration changes, cannot benull
assist
- the resolve conflict assist to provide to conflict resolver, cannot benull
monitor
- the progress monitor to report progress to, cannot benull
- Returns:
true
whether conflict is overrided orfalse
if override was unsuccessful or has been cancelled- Throws:
InfobaseSynchronizationException
- if a conflict override error occurred
-
-