Enum Class ModeName

java.lang.Object
java.lang.Enum<ModeName>
com.palantir.gradle.suppressibleerrorprone.modes.common.ModeName
All Implemented Interfaces:
Serializable, Comparable<ModeName>, Constable

public enum ModeName extends Enum<ModeName>
Representations of the different modes, and which flags (enabled as Gradle properties) they correspond to.
  • Enum Constant Details

    • APPLY

      public static final ModeName APPLY
    • SUPPRESS

      public static final ModeName SUPPRESS
    • REMOVE_ROLLOUT

      public static final ModeName REMOVE_ROLLOUT
    • REMOVE_UNUSED

      public static final ModeName REMOVE_UNUSED
    • TIMINGS

      public static final ModeName TIMINGS
    • DISABLE

      public static final ModeName DISABLE
  • Method Details

    • values

      public static ModeName[] 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 ModeName 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
    • canonicalFlag

      public String canonicalFlag()
    • allFlags

      public Set<String> allFlags()
    • asGradlePropertyArgument

      public String asGradlePropertyArgument()