Class ArtifactsGuardImpl
- java.lang.Object
-
- jetbrains.buildServer.serverSide.artifacts.ArtifactsGuardImpl
-
- All Implemented Interfaces:
ArtifactsGuard
public class ArtifactsGuardImpl extends Object implements ArtifactsGuard
-
-
Constructor Summary
Constructors Constructor Description ArtifactsGuardImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidlockReading(File fileToLock)Locks specified file or directory for reading.voidlockWriting(File fileToLock)Locks specified file or directory for writing.voidunlockReading(File fileToUnlock)Unlocks reading.voidunlockWriting(File fileToUnlock)Unlocks writing.
-
-
-
Method Detail
-
lockWriting
public void lockWriting(@NotNull File fileToLock)Description copied from interface:ArtifactsGuardLocks specified file or directory for writing. Doesn't throw any exceptions if the file system path doesn't exist.
- Specified by:
lockWritingin interfaceArtifactsGuard- Parameters:
fileToLock- file to lock, can be absolute file or relative. If relative, than system artifacts directory will be added to the file path.
-
unlockWriting
public void unlockWriting(@NotNull File fileToUnlock)Description copied from interface:ArtifactsGuardUnlocks writing. Doesn't throw any exceptions if the file system path doesn't exist.
- Specified by:
unlockWritingin interfaceArtifactsGuard- Parameters:
fileToUnlock- file to unlock
-
lockReading
public void lockReading(@NotNull File fileToLock)Description copied from interface:ArtifactsGuardLocks specified file or directory for reading. Doesn't throw any exceptions if the file system path doesn't exist.
- Specified by:
lockReadingin interfaceArtifactsGuard- Parameters:
fileToLock- file to lock, can be absolute file or relative. If relative, than system artifacts directory will be added to the file path.
-
unlockReading
public void unlockReading(@NotNull File fileToUnlock)Description copied from interface:ArtifactsGuardUnlocks reading. Doesn't throw any exceptions if the file system path doesn't exist.
- Specified by:
unlockReadingin interfaceArtifactsGuard- Parameters:
fileToUnlock- file to unlock
-
-