Uses of Enum
com.parasoft.findings.jenkins.coverage.api.metrics.model.Baseline
Package
Description
Contains models to format coverages and aggregate values.
New coverage model that tries to replace all the existing functionality with a more versatile model.
-
Uses of Baseline in com.parasoft.findings.jenkins.coverage.api.metrics.model
Modifier and TypeMethodDescriptionstatic Baseline
Returns the enum constant of this type with the specified name.static Baseline[]
Baseline.values()
Returns an array containing the constants of this enum type, in the order they are declared.Modifier and TypeMethodDescriptionboolean
CoverageStatistics.containsValue
(Baseline baseline, Metric metric) Returns whether a value for the specified metric and baseline is available.ElementFormatter.getDisplayColors
(Baseline baseline, Value value) Provides the colors to render a given coverage percentage.ElementFormatter.getDisplayName
(Baseline baseline) Returns a localized human-readable name for the specified baseline.Returns the value for the specified baseline and metric. -
Uses of Baseline in com.parasoft.findings.jenkins.coverage.api.metrics.steps
Modifier and TypeMethodDescriptionCoverageBuildAction.getProjectBaseline()
Returns the supported baselines.CoverageQualityGate.getType()
Modifier and TypeMethodDescriptionCoverageBuildAction.formatValue
(Baseline baseline, Metric metric) Returns a formatted and localized String representation of the value for the specified metric (with respect to the given baseline).CoverageBuildAction.getAllValues
(Baseline baseline) Returns all available values for the specified baseline.Returns the title text for the specified baseline.CoverageBuildAction.getValueForMetric
(Baseline baseline, Metric metric) Returns the value for the specified metric, if available.Returns all important values for the specified baseline.boolean
CoverageBuildAction.hasBaselineResult
(Baseline baseline) Returns whether a delta metric for the specified metric exists.final void
Sets the baseline that will be used for the quality gate evaluation.ModifierConstructorDescriptionCoverageQualityGate
(double threshold, Baseline type, io.jenkins.plugins.util.QualityGate.QualityGateCriticality criticality) Creates a new instance ofCoverageQualityGate
.