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, waitMethods inherited from interface io.jenkins.plugins.datatables.AsyncTableContentProvider
getTableModel
-
Constructor Details
-
DefaultAsyncTableContentProvider
public DefaultAsyncTableContentProvider()
-
-
Method Details
-
getTableRows
Description copied from interface:AsyncTableContentProviderReturns the rows of the table model with the specified ID. The rows must use the JSON specification of thedataattribute of the data table. Note that this method will be invoked asynchronously using an Ajax call after the page has been rendered.- Specified by:
getTableRowsin interfaceAsyncTableContentProvider- Parameters:
id- ID of the table model- Returns:
- the table model with the specified ID
-