Uses of Class
com.parasoft.findings.jenkins.coverage.api.metrics.model.Baseline
-
Packages that use Baseline Package Description com.parasoft.findings.jenkins.coverage.api.metrics.model Contains models to format coverages and aggregate values.com.parasoft.findings.jenkins.coverage.api.metrics.steps 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
Methods in com.parasoft.findings.jenkins.coverage.api.metrics.model that return Baseline Modifier and Type Method Description static Baseline
Baseline. valueOf(String name)
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.Methods in com.parasoft.findings.jenkins.coverage.api.metrics.model with parameters of type Baseline Modifier and Type Method Description boolean
CoverageStatistics. containsValue(Baseline baseline, Metric metric)
Returns whether a value for the specified metric and baseline is available.ColorProvider.DisplayColors
ElementFormatter. getDisplayColors(Baseline baseline, Value value)
Provides the colors to render a given coverage percentage.String
ElementFormatter. getDisplayName(Baseline baseline)
Returns a localized human-readable name for the specified baseline.Optional<Value>
CoverageStatistics. getValue(Baseline baseline, Metric metric)
Returns the value for the specified baseline and metric. -
Uses of Baseline in com.parasoft.findings.jenkins.coverage.api.metrics.steps
Methods in com.parasoft.findings.jenkins.coverage.api.metrics.steps that return Baseline Modifier and Type Method Description Baseline
CoverageBuildAction. getProjectBaseline()
Returns the supported baselines.Baseline
CoverageQualityGate. getType()
Methods in com.parasoft.findings.jenkins.coverage.api.metrics.steps with parameters of type Baseline Modifier and Type Method Description String
CoverageBuildAction. 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).List<Value>
CoverageBuildAction. getAllValues(Baseline baseline)
Returns all available values for the specified baseline.String
CoverageBuildAction. getTitle(Baseline baseline)
Returns the title text for the specified baseline.Optional<Value>
CoverageBuildAction. getValueForMetric(Baseline baseline, Metric metric)
Returns the value for the specified metric, if available.List<Value>
CoverageBuildAction. getValues(Baseline baseline)
Returns all important values for the specified baseline.boolean
CoverageBuildAction. hasBaselineResult(Baseline baseline)
Returns whether a delta metric for the specified metric exists.void
CoverageQualityGate. setType(Baseline type)
Sets the baseline that will be used for the quality gate evaluation.Constructors in com.parasoft.findings.jenkins.coverage.api.metrics.steps with parameters of type Baseline Constructor Description CoverageQualityGate(double threshold, Baseline type, io.jenkins.plugins.util.QualityGate.QualityGateCriticality criticality)
Creates a new instance ofCoverageQualityGate
.
-