Interface GitCommand<T>

All Superinterfaces:
com.atlassian.bitbucket.scm.AsyncCommand<T>, Callable<T>, com.atlassian.bitbucket.scm.Command<T>

public interface GitCommand<T> extends com.atlassian.bitbucket.scm.AsyncCommand<T>, com.atlassian.bitbucket.scm.Command<T>
Merges both the Command and AsyncCommand interfaces, allowing git commands to be run both synchronously and asynchronously. This allows the caller to choose which style of execution is suitable for their needs. Note that the output produced by the command when it is executed will be the same regardless of whether it is executed synchronously or asynchronously.
  • Method Summary

    Methods inherited from interface com.atlassian.bitbucket.scm.AsyncCommand

    start, synchronous

    Methods inherited from interface com.atlassian.bitbucket.scm.Command

    asynchronous, call, setExecutionTimeout, setExecutionTimeout, setIdleTimeout, setIdleTimeout, setTimeout, setTimeout