Class GroupedRunsChartDefinition.DescriptorImpl

java.lang.Object
hudson.model.Descriptor<GroupedRunsChartDefinition>
org.jenkinsci.plugins.vmanager.charts.model.GroupedRunsChartDefinition.DescriptorImpl
All Implemented Interfaces:
Saveable, Loadable, OnMaster
Enclosing class:
GroupedRunsChartDefinition

@Extension public static class GroupedRunsChartDefinition.DescriptorImpl extends Descriptor<GroupedRunsChartDefinition>
  • Field Details

    • ALL_STATUSES

      public static final List<String> ALL_STATUSES
      All vManager run statuses that may be passed to the .InFilter on the status attribute. Exposed so the multi-select widget in config.jelly can enumerate them.
  • Constructor Details

    • DescriptorImpl

      public DescriptorImpl()
  • Method Details

    • getAllStatuses

      public List<String> getAllStatuses()
      Bean-style getter so Jelly can read descriptor.allStatuses.
    • getDisplayName

      @NonNull public String getDisplayName()
      Overrides:
      getDisplayName in class Descriptor<GroupedRunsChartDefinition>
    • doCheckTitle

      @POST public FormValidation doCheckTitle(@AncestorInPath Item item, @QueryParameter String value)
    • doCheckYAxisLimit

      @POST public FormValidation doCheckYAxisLimit(@AncestorInPath Item item, @QueryParameter String value)
    • doCheckMaxBuilds

      @POST public FormValidation doCheckMaxBuilds(@AncestorInPath Item item, @QueryParameter String value)
    • doCheckGroupByAttribute

      @POST public FormValidation doCheckGroupByAttribute(@QueryParameter String value, @RelativePath("..") @QueryParameter String serverUrl, @RelativePath("..") @QueryParameter String credentialsId, @AncestorInPath Item item)
    • doFillGroupByAttributeItems

      @POST public ComboBoxModel doFillGroupByAttributeItems(@RelativePath("..") @QueryParameter String serverUrl, @RelativePath("..") @QueryParameter String credentialsId, @AncestorInPath Item item)
      Populates the combobox by hitting the same RUN_LEVEL schema endpoint as the metrics descriptor uses for SESSION_LEVEL, but against the runs component and WITHOUT filtering by attribute type (i.e. strings, numbers, booleans, etc. are all returned).

      Debug logging: this method always logs (at INFO level) the exact REST URL it calls, the credentials id used, the HTTP response size and a head-snippet of the body, plus the number of attributes parsed. Enable verbose Stapler logging or filter the Jenkins log on GroupedRunsChartDefinition to see it. The full request payload is empty (this is a GET), so only the URL is logged.