Package jetbrains.buildServer.vcs
Interface FetchService
-
- All Superinterfaces:
VcsExtension
public interface FetchService extends VcsExtension
This service allows client to receive notifications for the repository fetch operation. Plugin may run full fetch for the repository if there was nothing cached or plugin may incrementally update fetched mirror- Since:
- 9.0
- Author:
- Eugene Petrenko (eugene.petrenko@jetbrains.com)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceFetchService.FetchRepositoryCallbackCallback interface to report fetch execution progress
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidfetchRepository(VcsRoot root, CheckoutRules rules, FetchService.FetchRepositoryCallback callback)Performs repository fetch to the most recent revision
-
-
-
Method Detail
-
fetchRepository
void fetchRepository(@NotNull VcsRoot root, @NotNull CheckoutRules rules, @NotNull FetchService.FetchRepositoryCallback callback) throws VcsExceptionPerforms repository fetch to the most recent revision- Parameters:
callback- callback to report operation progress- Throws:
VcsException- on error- Since:
- 9.0
-
-