Interface AsyncTrendChart

All Known Implementing Classes:
AsyncConfigurableTrendJobAction, AsyncTrendJobAction

public interface AsyncTrendChart
Provides the trend chart for a job. The trend chart model will be rendered by ECharts: the model of the chart will be obtained using an asynchronous Ajax call.
Author:
Ullrich Hafner
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the UI model for an ECharts chart that shows the build trend.
    boolean
    Returns whether the trend report should be shown.
  • Method Details

    • getBuildTrendModel

      @JavaScriptMethod String getBuildTrendModel()
      Returns the UI model for an ECharts chart that shows the build trend. The model has to be a JSON representation of a corresponding LinesChartModel instance, that will be inserted into the client side model of the corresponding ECharts instance.
      Returns:
      the UI model as JSON
      See Also:
    • isTrendVisible

      boolean isTrendVisible()
      Returns whether the trend report should be shown.
      Returns:
      true if the trend should be shown, false otherwise