Class DefaultAsyncTableContentProvider

java.lang.Object
io.jenkins.plugins.datatables.DefaultAsyncTableContentProvider
All Implemented Interfaces:
AsyncTableContentProvider

public abstract class DefaultAsyncTableContentProvider extends Object implements AsyncTableContentProvider
An AsyncTableContentProvider that provides a default implementation to extract the rows of a given date table as JSON objects.
Author:
Ullrich Hafner
  • Constructor Details

    • DefaultAsyncTableContentProvider

      public DefaultAsyncTableContentProvider()
  • Method Details

    • getTableRows

      @JavaScriptMethod public String getTableRows(String id)
      Description copied from interface: AsyncTableContentProvider
      Returns the rows of the table model with the specified ID. The rows must use the JSON specification of the data attribute of the data table. Note that this method will be invoked asynchronously using an Ajax call after the page has been rendered.
      Specified by:
      getTableRows in interface AsyncTableContentProvider
      Parameters:
      id - ID of the table model
      Returns:
      the table model with the specified ID