public interface PostFilter
Pages and
Revisions are removed by the post-filter.| Modifier and Type | Field and Description |
|---|---|
static PostFilter |
KEEP_ALL
PostFilter that retains all pages and all revisions. |
static PostFilter |
KEEP_NONE
PostFilter that discards all pages and all revisions. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
keepPage(PageType page)
Determines whether
page should be retained or discarded. |
boolean |
keepRevision(RevisionType revision,
PageType page)
Determines whether
revision should be retained or discarded. |
static final PostFilter KEEP_ALL
PostFilter that retains all pages and all revisions.static final PostFilter KEEP_NONE
PostFilter that discards all pages and all revisions.boolean keepPage(PageType page)
page should be retained or discarded.page - the PageType object under considerationtrue if page should be kept, false
otherwise.boolean keepRevision(RevisionType revision, PageType page)
revision should be retained or discarded.revision - the RevisionType object under considerationpage - the PageType of the object containing this revision.true if revision should be kept, false otherwise.