Interface IGitIntegrationManager
-
public interface IGitIntegrationManagerGit integration manager controls integration of metadata snapshots with Git VCS.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ObjectbeginManagedCheckout(org.eclipse.jgit.lib.Repository repo, org.eclipse.jgit.lib.Ref targetRef, org.eclipse.core.runtime.IProgressMonitor progressMonitor)Starts checkout with snapshot operation support.voidendManagedCheckout(Object handle)Completes managed checkout with snapshot operation support.voidsetIntegrationStrategy(IGitIntegrationStrategy strategy)Changes active snapshot integration strategy.voidstrategySettingsChanged()Informs the manager, that settings of active integration strategy have changed.
-
-
-
Method Detail
-
setIntegrationStrategy
void setIntegrationStrategy(IGitIntegrationStrategy strategy)
Changes active snapshot integration strategy.- Parameters:
strategy- the new integration strategy, cannot benull
-
beginManagedCheckout
Object beginManagedCheckout(org.eclipse.jgit.lib.Repository repo, org.eclipse.jgit.lib.Ref targetRef, org.eclipse.core.runtime.IProgressMonitor progressMonitor)
Starts checkout with snapshot operation support.- Parameters:
repo- the repository, which is going to be checked out, cannot benulltargetRef- the target ref, cannot benullprogressMonitor- the progress monitor, may benull- Returns:
- the checkout handle, which must eventually be passed to
endManagedCheckout(Object), ornullif no action needed
-
endManagedCheckout
void endManagedCheckout(Object handle)
Completes managed checkout with snapshot operation support.- Parameters:
handle- the checkout handle, obtained frombeginManagedCheckout(Repository, Ref, IProgressMonitor), cannot benull
-
strategySettingsChanged
void strategySettingsChanged()
Informs the manager, that settings of active integration strategy have changed.
-
-