Enum CoverageColorJenkinsId
- java.lang.Object
-
- java.lang.Enum<CoverageColorJenkinsId>
-
- com.parasoft.findings.jenkins.coverage.api.metrics.color.CoverageColorJenkinsId
-
- All Implemented Interfaces:
Serializable
,Comparable<CoverageColorJenkinsId>
public enum CoverageColorJenkinsId extends Enum<CoverageColorJenkinsId>
Contains color IDs which represent the keys of a JSON object that is dynamically filled with the currently set Jenkins colors.- Author:
- Florian Orendi
-
-
Enum Constant Summary
Enum Constants Enum Constant Description GREEN
LIGHT_GREEN
LIGHT_ORANGE
LIGHT_RED
LIGHT_YELLOW
ORANGE
RED
YELLOW
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Set<String>
getAll()
String
getJenkinsColorId()
static CoverageColorJenkinsId
valueOf(String name)
Returns the enum constant of this type with the specified name.static CoverageColorJenkinsId[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GREEN
public static final CoverageColorJenkinsId GREEN
-
LIGHT_GREEN
public static final CoverageColorJenkinsId LIGHT_GREEN
-
YELLOW
public static final CoverageColorJenkinsId YELLOW
-
LIGHT_YELLOW
public static final CoverageColorJenkinsId LIGHT_YELLOW
-
ORANGE
public static final CoverageColorJenkinsId ORANGE
-
LIGHT_ORANGE
public static final CoverageColorJenkinsId LIGHT_ORANGE
-
RED
public static final CoverageColorJenkinsId RED
-
LIGHT_RED
public static final CoverageColorJenkinsId LIGHT_RED
-
-
Method Detail
-
values
public static CoverageColorJenkinsId[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CoverageColorJenkinsId c : CoverageColorJenkinsId.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CoverageColorJenkinsId 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 nameNullPointerException
- if the argument is null
-
getJenkinsColorId
public String getJenkinsColorId()
-
-