Class ExperimentFeaturesConstants
java.lang.Object
com.google.gerrit.server.experiments.ExperimentFeaturesConstants
Constants for Gerrit
ExperimentFeatures
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Whether we allow fix suggestions in HumanComments.static final com.google.common.collect.ImmutableSet<String>
Features, enabled by default in the current release.static String
If true, gerrit ignores rejectImplicitMerges setting from the project config on merge.static String
Features that are known experiments and can be referenced in the code.static String
If true, gerrit checks implicit merges on each merge operations.static String
If true, gerrit rejects implicit merges on merge. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
GERRIT_BACKEND_FEATURE_ATTACH_NONCE_TO_DOCUMENTATION
Features that are known experiments and can be referenced in the code. -
DEFAULT_ENABLED_FEATURES
Features, enabled by default in the current release. -
GERRIT_BACKEND_FEATURE_CHECK_IMPLICIT_MERGES_ON_MERGE
If true, gerrit checks implicit merges on each merge operations.If only this option is set (without
GERRIT_BACKEND_FEATURE_REJECT_IMPLICIT_MERGES_ON_MERGE
) - then the outcome of the check is only logged and doesn't block merge operation. Any exceptions during the check are logged and doesn't block merge operation. -
GERRIT_BACKEND_FEATURE_REJECT_IMPLICIT_MERGES_ON_MERGE
If true, gerrit rejects implicit merges on merge.Should work together with
GERRIT_BACKEND_FEATURE_CHECK_IMPLICIT_MERGES_ON_MERGE
.If
GERRIT_BACKEND_FEATURE_ALWAYS_REJECT_IMPLICIT_MERGES_ON_MERGE
is set to true then implicit merges are rejected even if rejectImplicitMerges in project config is set to false.If
GERRIT_BACKEND_FEATURE_ALWAYS_REJECT_IMPLICIT_MERGES_ON_MERGE
is set to false then implicit merges are rejected only if rejectImplicitMerges in project config is set to true. -
GERRIT_BACKEND_FEATURE_ALWAYS_REJECT_IMPLICIT_MERGES_ON_MERGE
If true, gerrit ignores rejectImplicitMerges setting from the project config on merge. -
ALLOW_FIX_SUGGESTIONS_IN_COMMENTS
Whether we allow fix suggestions in HumanComments.- See Also:
-
-
Constructor Details
-
ExperimentFeaturesConstants
public ExperimentFeaturesConstants()
-