Package org.nuxeo.ecm.core.blob
Class BlobDispatcherDescriptor
- java.lang.Object
-
- org.nuxeo.ecm.core.blob.BlobDispatcherDescriptor
-
- All Implemented Interfaces:
Descriptor
public class BlobDispatcherDescriptor extends Object implements Descriptor
Descriptor for aBlobDispatcher
and its configuration.- Since:
- 7.3
-
-
Field Summary
Fields Modifier and Type Field Description Class<? extends BlobDispatcher>
klass
protected boolean
merge
Map<String,String>
properties
-
Fields inherited from interface org.nuxeo.runtime.model.Descriptor
UNIQUE_DESCRIPTOR_ID
-
-
Constructor Summary
Constructors Constructor Description BlobDispatcherDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BlobDispatcher
getBlobDispatcher()
String
getId()
The descriptor id, descriptors with same id are merged.Descriptor
merge(Descriptor o)
Returns a descriptor representingother
merged intothis
-
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
-
-
-
-
Field Detail
-
merge
protected boolean merge
- Since:
- 2021.15
-
klass
public Class<? extends BlobDispatcher> klass
-
-
Method Detail
-
getId
public String getId()
Description copied from interface:Descriptor
The 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:
getId
in interfaceDescriptor
-
getBlobDispatcher
public BlobDispatcher getBlobDispatcher()
-
merge
public Descriptor merge(Descriptor o)
Description copied from interface:Descriptor
Returns a descriptor representingother
merged intothis
Default implementation returns
other
.- Specified by:
merge
in interfaceDescriptor
- Returns:
- the merged descriptor
-
-