public enum GitFeature extends Enum<GitFeature> implements com.atlassian.bitbucket.server.Feature
Features provided by the Git SCM.| Enum Constant and Description |
|---|
REBASE_WORKFLOWS
Controls whether rebase workflows are enabled.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getKey() |
boolean |
isDataCenter() |
static GitFeature |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GitFeature[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GitFeature REBASE_WORKFLOWS
public static GitFeature[] values()
for (GitFeature c : GitFeature.values()) System.out.println(c);
public static GitFeature valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null@Nonnull public String getKey()
getKey in interface com.atlassian.bitbucket.server.Featurepublic boolean isDataCenter()
isDataCenter in interface com.atlassian.bitbucket.server.FeatureCopyright © 2019 Atlassian. All rights reserved.