Class GitCommandsExecutor
java.lang.Object
org.jenkinsci.plugins.gitclient.cgit.GitCommandsExecutor
This executor can invoke multiple git commands in parallel using threads.
If threads = 1 the caller thread is used. If a git command fails, invocation of all running and not yet started commands is stopped.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
GitCommandsExecutor
-
-
Method Details
-
invokeAll
public <T> void invokeAll(Collection<Callable<T>> commands) throws GitException, InterruptedException - Throws:
GitException
InterruptedException
-