Package com.atlassian.bamboo.plugins.git
Class GitOperationHelperFactory
- java.lang.Object
-
- com.atlassian.bamboo.plugins.git.GitOperationHelperFactory
-
public class GitOperationHelperFactory extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
JGIT_FALLBACK_MESSAGE
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static GitOperationHelper
createGitOperationHelper(@NotNull GitRepository repository, @NotNull GitRepositoryAccessData accessData, @NotNull SshProxyService sshProxyService, @NotNull BuildLogger buildLogger, @NotNull com.atlassian.sal.api.message.I18nResolver i18nResolver, @NotNull TrustedKeyHelper trustedKeyHelper)
static GitOperationHelper
createGitOperationHelper(@NotNull AbstractGitExecutor executor, @NotNull GitRepositoryAccessData accessData, @NotNull SshProxyService sshProxyService, @NotNull BuildLogger buildLogger, @NotNull com.atlassian.sal.api.message.I18nResolver i18nResolver, @NotNull TrustedKeyHelper trustedKeyHelper)
static boolean
isNativeGitEnabled(GitRepository repository)
Deprecated.since 7.1, jgit is deprecatedstatic boolean
isNativeGitEnabled(AbstractGitExecutor repository)
Deprecated.since 7.1, jgit is deprecated
-
-
-
Field Detail
-
JGIT_FALLBACK_MESSAGE
public static final String JGIT_FALLBACK_MESSAGE
- See Also:
- Constant Field Values
-
-
Method Detail
-
createGitOperationHelper
public static GitOperationHelper createGitOperationHelper(@NotNull @NotNull GitRepository repository, @NotNull @NotNull GitRepositoryAccessData accessData, @NotNull @NotNull SshProxyService sshProxyService, @NotNull @NotNull BuildLogger buildLogger, @NotNull @NotNull com.atlassian.sal.api.message.I18nResolver i18nResolver, @NotNull @NotNull TrustedKeyHelper trustedKeyHelper) throws RepositoryException
- Throws:
RepositoryException
-
isNativeGitEnabled
@Deprecated public static boolean isNativeGitEnabled(GitRepository repository)
Deprecated.since 7.1, jgit is deprecated
-
isNativeGitEnabled
@Deprecated public static boolean isNativeGitEnabled(AbstractGitExecutor repository)
Deprecated.since 7.1, jgit is deprecated
-
createGitOperationHelper
public static GitOperationHelper createGitOperationHelper(@NotNull @NotNull AbstractGitExecutor executor, @NotNull @NotNull GitRepositoryAccessData accessData, @NotNull @NotNull SshProxyService sshProxyService, @NotNull @NotNull BuildLogger buildLogger, @NotNull @NotNull com.atlassian.sal.api.message.I18nResolver i18nResolver, @NotNull @NotNull TrustedKeyHelper trustedKeyHelper) throws RepositoryException
- Throws:
RepositoryException
-
-