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.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionGroupedRunsChartDefinition(String title, String subtitle, String groupByAttribute) -
Method Summary
Modifier and TypeMethodDescriptionMachine-readable id parsed out of"Title (id)".Human-friendly title parsed out of"Title (id)".intParsed status list.Raw CSV value as stored (used by the jelly textbox to round-trip).getTitle()intvoidsetMaxBuilds(int maxBuilds) voidsetStatusFilters(String statusFilters) voidsetYAxisLimit(int yAxisLimit) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface hudson.model.Describable
getDescriptor
-
Constructor Details
-
GroupedRunsChartDefinition
-
-
Method Details
-
getTitle
-
getSubtitle
-
getGroupByAttribute
-
getGroupByAttributeTitle
Human-friendly title parsed out of"Title (id)". -
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
Raw CSV value as stored (used by the jelly textbox to round-trip). -
setStatusFilters
-
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 thestatusattribute.
-