public interface VcsOperationProgressRunner
Modifier and Type | Interface and Description |
---|---|
static class |
VcsOperationProgressRunner.VcsOperationException |
Modifier and Type | Method and Description |
---|---|
<V> V |
runWithProgress(VcsOperationProgress progress,
java.util.concurrent.Callable<V> operation)
Runs given operation with specified progress
|
<V> V runWithProgress(@NotNull VcsOperationProgress progress, @NotNull java.util.concurrent.Callable<V> operation) throws VcsOperationProgressRunner.VcsOperationException
V
- type of operation resultprogress
- progress consumeroperation
- operation to runVcsOperationProgressRunner.VcsOperationException
- in case of any exception during operation call()