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 Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptiongetName()
static BooleanProjectConfig
Returns 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
-
values
Returns 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
-
valueOf
Returns 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 nameNullPointerException
- if the argument is null
-
getSection
-
getSubSection
-
getName
-