Package sonia.scm.repository.api
Class FileLockCommandBuilder.InnerUnlockCommandBuilder
java.lang.Object
sonia.scm.repository.api.FileLockCommandBuilder.InnerUnlockCommandBuilder
- Enclosing class:
- FileLockCommandBuilder
-
Constructor Details
-
InnerUnlockCommandBuilder
-
-
Method Details
-
force
Set the command to force unlock. Shortcut forforce(true)
.- Returns:
- This builder instance.
- See Also:
-
force
Set whether to force unlock or not. A lock from a different user can only be removed with force set totrue
.- Parameters:
force
- Whether to force unlock or not.- Returns:
- This builder instance.
-
execute
Remove the lock.- Returns:
- The result of the lock removal.
- Throws:
FileLockedException
- if the file is locked by another user andforce(boolean)
has not been set totrue
.
-