public class NoVersioningPolicyFilter extends Object implements VersioningPolicyFilter
Modifier and Type | Field and Description |
---|---|
static String |
WORKSPACE_TYPE |
Constructor and Description |
---|
NoVersioningPolicyFilter() |
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 static final String WORKSPACE_TYPE
public NoVersioningPolicyFilter()
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.