io.bdeploy.bhive.op.DirectoryReleaseOperation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of api Show documentation
Show all versions of api Show documentation
Public API including dependencies, ready to be used for integrations and plugins.
The newest version!
package io.bdeploy.bhive.op;
import java.nio.file.Path;
import io.bdeploy.common.util.PathHelper;
/**
* Resolves an existing lock by deleting the lock file.
*
* @see DirectoryLockOperation
* @see DirectoryAwaitOperation
*/
public class DirectoryReleaseOperation extends DirectoryModificationOperation {
@Override
public void doCall(Path lockFile) {
PathHelper.deleteRecursiveRetry(lockFile);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy