Package io.jenkins.plugins.datatables
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetTableRows
(String id) Returns the rows of the table model with the specified ID.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.jenkins.plugins.datatables.AsyncTableContentProvider
getTableModel
-
Constructor Details
-
DefaultAsyncTableContentProvider
public DefaultAsyncTableContentProvider()
-
-
Method Details
-
getTableRows
Description copied from interface:AsyncTableContentProvider
Returns the rows of the table model with the specified ID. The rows must use the JSON specification of thedata
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 interfaceAsyncTableContentProvider
- Parameters:
id
- ID of the table model- Returns:
- the table model with the specified ID
-