Class FSUndoSupportingPatcher
- java.lang.Object
-
- jetbrains.buildServer.vcs.patches.AbstractFSPatcher
-
- jetbrains.buildServer.vcs.patches.FSUndoSupportingPatcher
-
- All Implemented Interfaces:
Patcher,PatcherEventDispatcher
public class FSUndoSupportingPatcher extends AbstractFSPatcher
It is do not inherited from FSPatcherImpl in order to enforce adding methods to that class on changes in AbstractFSPatcher- Author:
- Eugene Petrenko
-
-
Field Summary
-
Fields inherited from class jetbrains.buildServer.vcs.patches.AbstractFSPatcher
myLocalFile
-
-
Constructor Summary
Constructors Constructor Description FSUndoSupportingPatcher(InputStream input, File dir, File undoPatchTmp, PatcherErrorHandler errorHander)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Disposes the patcher process.protected AbstractFSPatcherCallbackcreateCallback()PatchergetUndoPatcher(PatcherErrorHandler errors)voidsetPreserveTimestamp(boolean preserveTimestamp)voidsetPreverseReadonlyAttribute(boolean preverseReadonlyAttribute)protected voidundoPatcherClosed()-
Methods inherited from class jetbrains.buildServer.vcs.patches.AbstractFSPatcher
addListener, applyPatch, getLocalFile, interrupt, removeListener
-
-
-
-
Constructor Detail
-
FSUndoSupportingPatcher
public FSUndoSupportingPatcher(@NotNull InputStream input, @NotNull File dir, @NotNull File undoPatchTmp, @NotNull PatcherErrorHandler errorHander) throws IOException- Throws:
IOException
-
-
Method Detail
-
close
public void close()
Description copied from interface:PatcherDisposes the patcher process.- Specified by:
closein interfacePatcher- Overrides:
closein classAbstractFSPatcher
-
undoPatcherClosed
protected void undoPatcherClosed()
-
getUndoPatcher
public Patcher getUndoPatcher(@NotNull PatcherErrorHandler errors) throws IOException
- Throws:
IOException
-
setPreserveTimestamp
public void setPreserveTimestamp(boolean preserveTimestamp)
-
setPreverseReadonlyAttribute
public void setPreverseReadonlyAttribute(boolean preverseReadonlyAttribute)
-
createCallback
@NotNull protected final AbstractFSPatcherCallback createCallback()
- Specified by:
createCallbackin classAbstractFSPatcher
-
-