Class TrendModel.TrendSource
java.lang.Object
io.jenkins.plugins.analysis.core.model.TrendModel.TrendSource
- Enclosing class:
TrendModel
A source of a trend chart: either a single tool or the combination of all tools of a run.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the IDs of the available chart types as a space separated list.Returns the chart types that are available for this source.Returns the chart type that is shown if no (or an unavailable) chart type has been selected.Returns the name of this source.getId()Returns the ID of this source: the ID of the tool, or "*" for all tools.
-
Method Details
-
getId
Returns the ID of this source: the ID of the tool, or "*" for all tools.- Returns:
- the ID
-
getDisplayName
Returns the name of this source.- Returns:
- the display name
-
getChartTypes
Returns the chart types that are available for this source. The health chart requires an enabled health report, so it is never available for all tools (each tool has its own thresholds). The chart with the issues per tool requires at least two tools (or origins of an aggregated result).- Returns:
- the available chart types
-
getChartIds
Returns the IDs of the available chart types as a space separated list. Used as data attribute of the options in the select box.- Returns:
- the IDs of the available chart types
-
getDefaultChartType
Returns the chart type that is shown if no (or an unavailable) chart type has been selected.- Returns:
- the default chart type
-