Enum Class BooleanProjectConfig

java.lang.Object
java.lang.Enum<BooleanProjectConfig>
com.google.gerrit.entities.BooleanProjectConfig
All Implemented Interfaces:
Serializable, Comparable<BooleanProjectConfig>, java.lang.constant.Constable

public enum BooleanProjectConfig extends Enum<BooleanProjectConfig>
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:

  1. Add a field to ConfigInput
  2. Add a field to ConfigInfo
  3. Add the config to this enum
  4. Add API mappers to BooleanProjectConfigTransformations
  • Enum Constant Details

  • Method Details

    • values

      public static BooleanProjectConfig[] 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

      public static BooleanProjectConfig valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getSection

      public String getSection()
    • getSubSection

      public String getSubSection()
    • getName

      public String getName()