@Role public interface ExtensionJobHistory
Modifier and Type | Method and Description |
---|---|
void |
addRecord(ExtensionJobHistoryRecord record)
Adds a new record to the history.
|
List<ExtensionJobHistoryRecord> |
getRecords(org.apache.commons.collections4.Predicate<ExtensionJobHistoryRecord> filter,
String offsetRecordId,
int limit)
Returns the history records that match the given filter after the specified offset record.
|
void addRecord(ExtensionJobHistoryRecord record)
record
- the record to addList<ExtensionJobHistoryRecord> getRecords(org.apache.commons.collections4.Predicate<ExtensionJobHistoryRecord> filter, String offsetRecordId, int limit)
filter
- the predicate used to filter the history recordsoffsetRecordId
- specifies the offset record (where to start from); pass null
to start from the most
recent record in the historylimit
- the maximum number of records to return from the specified offsetCopyright © 2004–2021 XWiki. All rights reserved.