public final enum

GitFeature

extends Enum<E extends Enum<E>>
implements Feature
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.atlassian.bitbucket.scm.git.GitFeature

Class Overview

Features provided by the Git SCM.

Summary

Enum Values
GitFeature  REBASE_WORKFLOWS  Controls whether rebase workflows are enabled. 
Public Methods
@Nonnull String getKey()
boolean isDataCenter()
static GitFeature valueOf(String name)
final static GitFeature[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface com.atlassian.bitbucket.server.Feature
From interface java.lang.Comparable

Enum Values

public static final GitFeature REBASE_WORKFLOWS

Controls whether rebase workflows are enabled. This can be used to fully disable all of the system's built-in rebase support, including:

  • "Rebase and fast-forward" and "Rebase and merge" merge strategies
  • "Rebase" action for pull requests
  • "Rebase" action for ref sync
When this feature is disabled, repository administrators and individual users cannot override it. However, third-party add-ons can still use the Java API to rebase branches or perform rebase "merges".

Public Methods

@Nonnull public String getKey ()

public boolean isDataCenter ()

public static GitFeature valueOf (String name)

public static final GitFeature[] values ()