Package jetbrains.buildServer.vcs
Interface VcsOperationProgressRunner
-
- All Known Implementing Classes:
VcsOperationProgressProviderImpl
public interface VcsOperationProgressRunnerRuns operations with progress
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classVcsOperationProgressRunner.VcsOperationException
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <V> VrunWithProgress(VcsOperationProgress progress, Callable<V> operation)Runs given operation with specified progress
-
-
-
Method Detail
-
runWithProgress
<V> V runWithProgress(@NotNull VcsOperationProgress progress, @NotNull Callable<V> operation) throws VcsOperationProgressRunner.VcsOperationExceptionRuns 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()
-
-