Class BlueTrend

java.lang.Object
io.jenkins.blueocean.rest.model.Resource
io.jenkins.blueocean.rest.model.BlueTrend
All Implemented Interfaces:
BlueTable, Reachable

public abstract class BlueTrend extends Resource implements BlueTable
A category of tabular data, typically one that changes over time (e.g. across successive runs) To create a new "trend" 1. Implement BlueTrendFactory and return a new subclass of BlueTrend 2. Subclass BlueTable and BlueTableRow adding suitable properties to construct the data set.
Author:
cliffmeyers
  • Field Details

  • Constructor Details

    • BlueTrend

      public BlueTrend()
  • Method Details

    • getId

      @Exported(name="id") public abstract String getId()
      A unique identifier for the trend to be used in the REST API path, e.g. my-pipeline/trends/${id} Note that an ID collision will result in only one trend being available.
      Returns:
      identifier
    • getDisplayName

      @Exported(name="displayName") public abstract String getDisplayName()
      Returns:
      name display in UI
    • getColumns

      @Exported(name="columns", inline=true) public abstract Map<String,String> getColumns()
      Specified by:
      getColumns in interface BlueTable
      Returns:
      map of columns' property names (keys) and descriptions (values). optional
    • getRows

      @Navigable public abstract Container<BlueTableRow> getRows()
      Specified by:
      getRows in interface BlueTable
      Returns:
      individual rows of data