Platform Explorer / Nuxeo Platform 9.2

Contribution org.nuxeo.drive.versioning--filters

This contribution is part of XML component org.nuxeo.drive.versioning inside nuxeo-drive-core-9.2.jar /OSGI-INF/nuxeodrive-versioning-policy-contrib.xml

Extension Point

Extension point filters of component VersioningService.

Contributed Items

  • <filter id="versioning-delay">
          <condition>#{currentDocument.dc.modified.time - previousDocument.dc.modified.time &gt;= 3600000}</condition>
        </filter>
  • <filter id="drive-filter">
          <condition>#{currentDocument.contextData.source == "drive"}</condition>
        </filter>
  • <filter id="not-drive-filter">
          <condition>#{currentDocument.contextData.source != "drive"}</condition>
        </filter>

XML Source

<extension point="filters" target="org.nuxeo.ecm.core.versioning.VersioningService">
    <filter id="versioning-delay">
      <condition>#{currentDocument.dc.modified.time - previousDocument.dc.modified.time &gt;= 3600000}</condition>
    </filter>
    <filter id="drive-filter">
      <condition>#{currentDocument.contextData.source == "drive"}</condition>
    </filter>
    <filter id="not-drive-filter">
      <condition>#{currentDocument.contextData.source != "drive"}</condition>
    </filter>
  </extension>