Enum Class ColorScheme

java.lang.Object
java.lang.Enum<ColorScheme>
io.jenkins.plugins.coverage.metrics.color.ColorScheme
All Implemented Interfaces:
Serializable, Comparable<ColorScheme>, Constable

public enum ColorScheme extends Enum<ColorScheme>
Represents different types of color schemes that can be selected in order to load the matching color palette.
Author:
Florian Orendi
  • Enum Constant Details

    • DEFAULT

      public static final ColorScheme DEFAULT
      The default colors.
    • DARK_MODE

      public static final ColorScheme DARK_MODE
      Colors which are used if the dark mode is activated.
    • COLOR_BLINDNESS

      public static final ColorScheme COLOR_BLINDNESS
      Colors which are usable in case of color blindness.
  • Method Details

    • values

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