Class GroupedRunsChartDefinition

java.lang.Object
org.jenkinsci.plugins.vmanager.charts.model.GroupedRunsChartDefinition
All Implemented Interfaces:
Describable<GroupedRunsChartDefinition>

public class GroupedRunsChartDefinition extends Object implements Describable<GroupedRunsChartDefinition>
One instance of the "Custom Grouped Run's Chart (Heatmap)" feature. Each instance corresponds to a single heat-map shown on the job's vManager Charts page. The heat-map groups the runs of the build's resolved vManager sessions by the chosen RUN_LEVEL attribute and counts the number of entities per group.

groupByAttribute stores the value in the format "Title (id)" (the displayed combobox value). Use getGroupByAttributeId() when making REST calls and getGroupByAttributeTitle() for display.

  • Constructor Details

    • GroupedRunsChartDefinition

      @DataBoundConstructor public GroupedRunsChartDefinition(String title, String subtitle, String groupByAttribute)
  • Method Details

    • getTitle

      public String getTitle()
    • getSubtitle

      public String getSubtitle()
    • getGroupByAttribute

      public String getGroupByAttribute()
    • getGroupByAttributeTitle

      public String getGroupByAttributeTitle()
      Human-friendly title parsed out of "Title (id)".
    • getGroupByAttributeId

      public String getGroupByAttributeId()
      Machine-readable id parsed out of "Title (id)".
    • getYAxisLimit

      public int getYAxisLimit()
    • setYAxisLimit

      @DataBoundSetter public void setYAxisLimit(int yAxisLimit)
    • getMaxBuilds

      public int getMaxBuilds()
    • setMaxBuilds

      @DataBoundSetter public void setMaxBuilds(int maxBuilds)
    • getStatusFilters

      public String getStatusFilters()
      Raw CSV value as stored (used by the jelly textbox to round-trip).
    • setStatusFilters

      @DataBoundSetter public void setStatusFilters(String statusFilters)
    • getStatusFilterList

      public List<String> getStatusFilterList()
      Parsed status list. Empty list means "no status filter — include all runs". Order from the CSV is preserved; blanks and duplicates are dropped. Values are normalised to lower-case to match what vManager stores in the status attribute.