Class PatcherErrorHandlerBase
- java.lang.Object
-
- jetbrains.buildServer.vcs.patches.PatcherErrorHandlerBase
-
- All Implemented Interfaces:
PatcherErrorHandler
- Direct Known Subclasses:
StrictPatcherErrorHandler
public abstract class PatcherErrorHandlerBase extends Object implements PatcherErrorHandler
- Author:
- Eugene Petrenko Created: 22.05.2009 19:41:18
-
-
Constructor Summary
Constructors Constructor Description PatcherErrorHandlerBase()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
addDirectoryFailed(File file)
void
changeBinaryFailed(File file, IOException e)
void
changeTextFailed(File file, IOException e)
void
chmodFailed(File file)
void
deleteFailed(File file)
protected abstract void
error(String message, IOException cause)
void
failedToAccessFile(File file)
void
failedToCreateOrFindParentDirectory(File file)
void
renameFileFailed(File fromFile, File toFile)
void
renameFileFailedNoSourceFile(File file)
void
setLastModifiedFailed(File file, long timeStamp)
void
setReadonlyAttributeFailed(File file)
-
-
-
Method Detail
-
addDirectoryFailed
public void addDirectoryFailed(@NotNull File file) throws PatchException
- Specified by:
addDirectoryFailed
in interfacePatcherErrorHandler
- Throws:
PatchException
-
deleteFailed
public void deleteFailed(@NotNull File file) throws PatchException
- Specified by:
deleteFailed
in interfacePatcherErrorHandler
- Throws:
PatchException
-
renameFileFailed
public void renameFileFailed(@NotNull File fromFile, @NotNull File toFile) throws PatchException
- Specified by:
renameFileFailed
in interfacePatcherErrorHandler
- Throws:
PatchException
-
renameFileFailedNoSourceFile
public void renameFileFailedNoSourceFile(@NotNull File file) throws PatchException
- Specified by:
renameFileFailedNoSourceFile
in interfacePatcherErrorHandler
- Throws:
PatchException
-
chmodFailed
public void chmodFailed(@NotNull File file) throws PatchException
- Specified by:
chmodFailed
in interfacePatcherErrorHandler
- Throws:
PatchException
-
setLastModifiedFailed
public void setLastModifiedFailed(@NotNull File file, long timeStamp) throws PatchException
- Specified by:
setLastModifiedFailed
in interfacePatcherErrorHandler
- Throws:
PatchException
-
setReadonlyAttributeFailed
public void setReadonlyAttributeFailed(@NotNull File file) throws PatchException
- Specified by:
setReadonlyAttributeFailed
in interfacePatcherErrorHandler
- Throws:
PatchException
-
changeBinaryFailed
public void changeBinaryFailed(@NotNull File file, @NotNull IOException e) throws PatchException
- Specified by:
changeBinaryFailed
in interfacePatcherErrorHandler
- Throws:
PatchException
-
changeTextFailed
public void changeTextFailed(@NotNull File file, @NotNull IOException e) throws PatchException
- Specified by:
changeTextFailed
in interfacePatcherErrorHandler
- Throws:
PatchException
-
failedToAccessFile
public void failedToAccessFile(@NotNull File file) throws PatchException
- Specified by:
failedToAccessFile
in interfacePatcherErrorHandler
- Throws:
PatchException
-
failedToCreateOrFindParentDirectory
public void failedToCreateOrFindParentDirectory(@NotNull File file) throws PatchException
- Specified by:
failedToCreateOrFindParentDirectory
in interfacePatcherErrorHandler
- Throws:
PatchException
-
error
protected abstract void error(@NotNull String message, @Nullable IOException cause) throws PatchException
- Throws:
PatchException
-
-