public class ExtensionHistoryScriptService.ExtensionHistoryFilter extends Object
Constructor and Description |
---|
ExtensionHistoryFilter() |
Modifier and Type | Method and Description |
---|---|
ExtensionHistoryScriptService.ExtensionHistoryFilter |
fromThisWiki()
Filters the jobs that have been executed on the current wiki or on the entire farm.
|
List<org.xwiki.extension.job.history.ExtensionJobHistoryRecord> |
list(String offsetRecordId,
int limit)
Lists the history records that match this filter and that are older than the specified offset record.
|
ExtensionHistoryScriptService.ExtensionHistoryFilter |
ofType(List<String> jobTypes)
Filters the history records with the specified job type.
|
public ExtensionHistoryScriptService.ExtensionHistoryFilter ofType(List<String> jobTypes)
jobTypes
- the type of jobs that should be included in the resultpublic ExtensionHistoryScriptService.ExtensionHistoryFilter fromThisWiki()
public List<org.xwiki.extension.job.history.ExtensionJobHistoryRecord> list(String offsetRecordId, int limit)
offsetRecordId
- 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.