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 void
close()
Disposes the patcher process.protected AbstractFSPatcherCallback
createCallback()
Patcher
getUndoPatcher(PatcherErrorHandler errors)
void
setPreserveTimestamp(boolean preserveTimestamp)
void
setPreverseReadonlyAttribute(boolean preverseReadonlyAttribute)
protected void
undoPatcherClosed()
-
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:Patcher
Disposes the patcher process.- Specified by:
close
in interfacePatcher
- Overrides:
close
in 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:
createCallback
in classAbstractFSPatcher
-
-