Klasse ColorProviderFactory
java.lang.Object
io.jenkins.plugins.coverage.metrics.color.ColorProviderFactory
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic ColorProvider
createColorProvider
(Map<String, String> colors) Creates acolor provider
which uses the set Jenkins colors.static ColorProvider
Creates acolor provider
which uses the internalcolor palette
.
-
Methodendetails
-
createDefaultColorProvider
Creates acolor provider
which uses the internalcolor palette
.- Gibt zurück:
- the created color provider
-
createColorProvider
Creates acolor provider
which uses the set Jenkins colors. Required color keys are: '--green', '--light-green', '--yellow', '--light-yellow', '--orange', '--light-orange', '--red', '--light-red' - seeCoverageColorJenkinsId
. If colors are missing, the internal default colors are used - seeCoverageColorPalette
.- Parameter:
colors
- Mapsjenkins color IDs
- Gibt zurück:
- the created color provider
-