java.lang.Object
java.lang.Enum<CoverageColorPalette>
com.parasoft.findings.jenkins.coverage.api.metrics.color.CoverageColorPalette
All Implemented Interfaces:
Serializable, Comparable<CoverageColorPalette>

public enum CoverageColorPalette extends Enum<CoverageColorPalette>
Provides a color palette which can be used as a plugin internal fallback if no other color schemes have been defined. The defined colors correspond to the Jenkins Design Library.
Author:
Florian Orendi
  • Enum Constant Details

  • Method Details

    • values

      public static CoverageColorPalette[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static CoverageColorPalette valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • getColorId

      public ColorId getColorId()
    • getFillColor

      public Color getFillColor()
    • getLineColor

      public Color getLineColor()