Package com._1c.g5.v8.dt.team.ui
Interface IBranchCheckoutListener
-
public interface IBranchCheckoutListener
The branch checkout listener.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
afterCheckout(IBranchCheckoutContext context)
Called after branch checkout.void
beforeCheckout(IBranchCheckoutContext context)
Called before branch checkout.
-
-
-
Method Detail
-
beforeCheckout
void beforeCheckout(IBranchCheckoutContext context)
Called before branch checkout.If this method returns successfully,
afterCheckout(IBranchCheckoutContext)
is guaranteed to be called.Contexts passed to
beforeCheckout(com._1c.g5.v8.dt.team.ui.IBranchCheckoutContext)
andafterCheckout(com._1c.g5.v8.dt.team.ui.IBranchCheckoutContext)
are guaranteed to be the same references.- Parameters:
context
- the checkout context, nevernull
-
afterCheckout
void afterCheckout(IBranchCheckoutContext context)
Called after branch checkout.If
beforeCheckout(IBranchCheckoutContext)
completes with an exception, this method is not called. Otherwise, it is guaranteed to be called regardless of success or failure of the checkout itself.Contexts passed to
beforeCheckout(com._1c.g5.v8.dt.team.ui.IBranchCheckoutContext)
andafterCheckout(com._1c.g5.v8.dt.team.ui.IBranchCheckoutContext)
are guaranteed to be the same references.- Parameters:
context
- the checkout context, nevernull
-
-