Package jetbrains.buildServer.vcs
Interface VcsOperationProgressRunner
-
public interface VcsOperationProgressRunner
Runs operations with progress
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
VcsOperationProgressRunner.VcsOperationException
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <V> V
runWithProgress(VcsOperationProgress progress, java.util.concurrent.Callable<V> operation)
Runs given operation with specified progress
-
-
-
Method Detail
-
runWithProgress
<V> V runWithProgress(@NotNull VcsOperationProgress progress, @NotNull java.util.concurrent.Callable<V> operation) throws VcsOperationProgressRunner.VcsOperationException
Runs given operation with specified progress- Type Parameters:
V
- type of operation result- Parameters:
progress
- progress consumeroperation
- operation to run- Returns:
- operation result
- Throws:
VcsOperationProgressRunner.VcsOperationException
- in case of any exception during operation call()
-
-