Class IncrementalPatchServiceImpl
- java.lang.Object
-
- jetbrains.vcs.api.services.patches.PatchServiceBase
-
- jetbrains.vcs.api.services.patches.IncrementalPatchServiceImpl
-
- All Implemented Interfaces:
IncrementalPatchService
,VcsRemoteService
,VcsService
public class IncrementalPatchServiceImpl extends PatchServiceBase implements IncrementalPatchService
Created 22.10.12 14:08- Author:
- Eugene Petrenko (eugene.petrenko@jetbrains.com)
-
-
Constructor Summary
Constructors Constructor Description IncrementalPatchServiceImpl(VcsSupportContext context, VcsSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
buildIncrementalPatch(LowLevelPatchBuilder builder, String fromRevision, String toRevision)
Creates an incremental patch from a given revision to a given revision-
Methods inherited from class jetbrains.vcs.api.services.patches.PatchServiceBase
buildPatchImpl, getCore, isCacheAllowed
-
-
-
-
Constructor Detail
-
IncrementalPatchServiceImpl
public IncrementalPatchServiceImpl(@NotNull VcsSupportContext context, @NotNull VcsSettings settings)
-
-
Method Detail
-
buildIncrementalPatch
public void buildIncrementalPatch(@NotNull LowLevelPatchBuilder builder, @NotNull String fromRevision, @NotNull String toRevision) throws IOException, VcsException
Description copied from interface:IncrementalPatchService
Creates an incremental patch from a given revision to a given revision- Specified by:
buildIncrementalPatch
in interfaceIncrementalPatchService
- Parameters:
builder
- patch builder. Implementation will callLowLevelPatch.exit(String)
orLowLevelPatch.fail(String)
prior toLowLevelPatchBuilder.close()
fromRevision
- revision to start fromtoRevision
- revision to end with- Throws:
IOException
- on errorVcsException
- on error
-
-