Package jetbrains.vcs.api.services
Interface CleanPatchService
-
- All Superinterfaces:
VcsRemoteService
,VcsService
public interface CleanPatchService extends VcsService, VcsRemoteService
Vcs plugin provided service to implement clean checkout to a given revision. Vcs plugin implementation may also provideIncrementalPatchService
in case it supports incremental patch building Created 22.10.12 12:48- Author:
- Eugene Petrenko (eugene.petrenko@jetbrains.com)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
buildCleanPatch(LowLevelPatchBuilder builder, java.lang.String toRevision)
Creates a clean patchboolean
isCacheAllowed()
-
-
-
Method Detail
-
isCacheAllowed
@VcsCacheable boolean isCacheAllowed()
- Returns:
- true if VCS implementation allows client to cache patches, i.e. if patch (null, X) == patch (null, B) + patch(B, X) for all B before X
-
buildCleanPatch
void buildCleanPatch(@NotNull LowLevelPatchBuilder builder, @NotNull java.lang.String toRevision) throws VcsException, java.io.IOException
Creates a clean patch- Parameters:
builder
- patch builder. Implementation will callLowLevelPatch.exit(String)
orLowLevelPatch.fail(String)
prior toLowLevelPatchBuilder.close()
toRevision
- revision- Throws:
VcsException
- on errorjava.io.IOException
- on error
-
-