Interface ICheckoutCallback
-
public interface ICheckoutCallbackCheckout callback is called to perform checkout in the middle of an operation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanperformCheckout(org.eclipse.jgit.lib.Repository repo, org.eclipse.jgit.lib.Ref target, org.eclipse.core.runtime.IProgressMonitor progressMonitor)Performs checkout to the given ref.
-
-
-
Method Detail
-
performCheckout
boolean performCheckout(org.eclipse.jgit.lib.Repository repo, org.eclipse.jgit.lib.Ref target, org.eclipse.core.runtime.IProgressMonitor progressMonitor) throws org.eclipse.core.runtime.CoreExceptionPerforms checkout to the given ref.- Parameters:
repo- the repository, nevernulltarget- the target ref, nevernullprogressMonitor- the progress monitor, nevernull- Returns:
trueif the checkout was successfully performed,falseotherwise- Throws:
org.eclipse.core.runtime.CoreException- if an error occurs
-
-