Interface ExtensionJobHistory


@Role public interface ExtensionJobHistory
The history of extension jobs.
Since:
7.1RC1
Version:
$Id: ab51d105473c10c01ff8b222f9a1169f073d82aa $
  • Method Details

    • addRecord

      void addRecord(ExtensionJobHistoryRecord record)
      Adds a new record to the history.
      Parameters:
      record - the record to add
    • getRecords

      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.
      Parameters:
      filter - the predicate used to filter the history records
      offsetRecordId - specifies the offset record (where to start from); pass null to start from the most recent record in the history
      limit - the maximum number of records to return from the specified offset
      Returns:
      a list of history records that match the given filter and are older than the specified offset record