public class NoVersioningCollectionPolicyFilter extends Object implements VersioningPolicyFilter
Constructor and Description |
---|
NoVersioningCollectionPolicyFilter() |
Modifier and Type | Method and Description |
---|---|
boolean |
test(DocumentModel previousDocument,
DocumentModel currentDocument) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
and, negate, or
public NoVersioningCollectionPolicyFilter()
public boolean test(DocumentModel previousDocument, DocumentModel currentDocument)
test
in interface BiPredicate<DocumentModel,DocumentModel>
test
in interface VersioningPolicyFilter
previousDocument
- the document before modification, could be null if event is aboutToCreatecurrentDocument
- the document after modificationCopyright © 2018 Nuxeo. All rights reserved.