Class UnicityExtension
- java.lang.Object
-
- org.nuxeo.ecm.platform.filemanager.service.extension.UnicityExtension
-
- All Implemented Interfaces:
Descriptor
public class UnicityExtension extends Object implements Descriptor
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringalgoprotected BooleancomputeDigeststatic List<String>DEFAULT_FIELDSprotected Booleanenabledprotected List<String>fields-
Fields inherited from interface org.nuxeo.runtime.model.Descriptor
UNIQUE_DESCRIPTOR_ID
-
-
Constructor Summary
Constructors Constructor Description UnicityExtension()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAlgo()BooleangetComputeDigest()BooleangetEnabled()List<String>getFields()StringgetId()The descriptor id, descriptors with same id are merged.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.nuxeo.runtime.model.Descriptor
doesRemove, merge
-
-
-
-
Method Detail
-
getAlgo
public String getAlgo()
-
getEnabled
public Boolean getEnabled()
-
getComputeDigest
public Boolean getComputeDigest()
-
getId
public String getId()
Description copied from interface:DescriptorThe descriptor id, descriptors with same id are merged.To forbid multiple descriptors use UNIQUE_DESCRIPTOR_ID.
To forbid merge use a unique value, non-overriden
toString()for exemple.- Specified by:
getIdin interfaceDescriptor
-
-