Interface ICheckoutCallback
public interface ICheckoutCallback
Checkout callback is called to perform checkout in the middle of an operation.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanperformCheckout(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 Details
-
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.CoreException Performs 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
-