Package jetbrains.vcs.api.services
Interface FetchService
-
- All Superinterfaces:
VcsRemoteService,VcsService
public interface FetchService extends VcsService, VcsRemoteService
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(FetchService.FetchRepositoryCallback callback)Performs repository fetch to the most recent revision
-
-
-
Method Detail
-
fetchRepository
void fetchRepository(@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
-
-