Class ExperimentFeaturesConstants
java.lang.Object
com.google.gerrit.server.experiments.ExperimentFeaturesConstants
Constants for Gerrit 
ExperimentFeatures- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final StringWhether we allow fix suggestions in HumanComments.static final com.google.common.collect.ImmutableSet<String> Features, enabled by default in the current release.static StringIf true, gerrit ignores rejectImplicitMerges setting from the project config on merge.static StringFeatures that are known experiments and can be referenced in the code.static StringIf true, gerrit checks implicit merges on each merge operations.static StringIf true, gerrit rejects implicit merges on merge.
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Field Details- 
GERRIT_BACKEND_FEATURE_ATTACH_NONCE_TO_DOCUMENTATIONFeatures that are known experiments and can be referenced in the code.
- 
DEFAULT_ENABLED_FEATURESFeatures, enabled by default in the current release.
- 
GERRIT_BACKEND_FEATURE_CHECK_IMPLICIT_MERGES_ON_MERGEIf 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_MERGEIf 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_MERGEis 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_MERGEis 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_MERGEIf true, gerrit ignores rejectImplicitMerges setting from the project config on merge.
- 
ALLOW_FIX_SUGGESTIONS_IN_COMMENTSWhether we allow fix suggestions in HumanComments.- See Also:
 
 
- 
- 
Constructor Details- 
ExperimentFeaturesConstantspublic ExperimentFeaturesConstants()
 
-