All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.bdeploy.bhive.op.DirectoryReleaseOperation Maven / Gradle / Ivy

Go to download

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