Package com.google.gerrit.entities
Enum Class BooleanProjectConfig
- All Implemented Interfaces:
- Serializable,- Comparable<BooleanProjectConfig>,- java.lang.constant.Constable
Contains all inheritable boolean project configs and maps internal representations to API
 objects.
 
Perform the following steps for adding a new inheritable boolean project config:
- Add a field to ConfigInput
- Add a field to ConfigInfo
- Add the config to this enum
- Add API mappers to BooleanProjectConfigTransformations
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescription
- 
Method SummaryModifier and TypeMethodDescriptiongetName()static BooleanProjectConfigReturns the enum constant of this class with the specified name.static BooleanProjectConfig[]values()Returns an array containing the constants of this enum class, in the order they are declared.
- 
Enum Constant Details- 
USE_CONTRIBUTOR_AGREEMENTS
- 
USE_SIGNED_OFF_BY
- 
USE_CONTENT_MERGE
- 
REQUIRE_CHANGE_ID
- 
CREATE_NEW_CHANGE_FOR_ALL_NOT_IN_TARGET
- 
ENABLE_SIGNED_PUSH
- 
REQUIRE_SIGNED_PUSH
- 
REJECT_IMPLICIT_MERGES
- 
PRIVATE_BY_DEFAULT
- 
ENABLE_REVIEWER_BY_EMAIL
- 
MATCH_AUTHOR_TO_COMMITTER_DATE
- 
REJECT_EMPTY_COMMIT
- 
WORK_IN_PROGRESS_BY_DEFAULT
- 
SKIP_ADDING_AUTHOR_AND_COMMITTER_AS_REVIEWERS
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
 
- 
valueOfReturns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum class has no constant with the specified name
- NullPointerException- if the argument is null
 
- 
getSection
- 
getSubSection
- 
getName
 
-