Package jetbrains.vcs.api.services
Interface BulkPatchService.BulkPatchBuilder
-
- Enclosing interface:
- BulkPatchService
public static interface BulkPatchService.BulkPatchBuilder
Callback interface for buildIncrementalPatches.- Since:
- 10.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
endPatch(BulkPatchService.BulkPatchRequest request, LowLevelPatchBuilder builder)
Indicates patch processing is completedLowLevelPatchBuilder
startPatch(BulkPatchService.BulkPatchRequest request)
The system calls a method to start processing each patch.
-
-
-
Method Detail
-
startPatch
@NotNull LowLevelPatchBuilder startPatch(@NotNull BulkPatchService.BulkPatchRequest request) throws IOException
The system calls a method to start processing each patch. Only one patch builder is allowed at a time! Can be accessed only from the current thread Implementation callsLowLevelPatch.exit(String)
orLowLevelPatch.fail(String)
prior toLowLevelPatchBuilder.close()
- Parameters:
request
- from and to revisions that are processed- Returns:
- patch builder
- Throws:
IOException
- on error, meaning to stop processing patches at all- Since:
- 10.0
-
endPatch
void endPatch(@NotNull BulkPatchService.BulkPatchRequest request, @NotNull LowLevelPatchBuilder builder) throws IOException
Indicates patch processing is completed- Parameters:
request
- original from, to revisionsbuilder
- the patch builder object returned fromstartPatch(BulkPatchRequest)
- Throws:
IOException
- Since:
- 10.0
-
-