Package org.nuxeo.ecm.core.io.registry
Class MarshallerRegistryDescriptor
- java.lang.Object
-
- org.nuxeo.ecm.core.io.registry.MarshallerRegistryDescriptor
-
- All Implemented Interfaces:
Descriptor
public class MarshallerRegistryDescriptor extends Object implements Descriptor
POJO used to handle "register"MarshallerRegistry
extension point.- Since:
- 7.2
-
-
Field Summary
Fields Modifier and Type Field Description boolean
enable
Class<?>
klass
-
Fields inherited from interface org.nuxeo.runtime.model.Descriptor
UNIQUE_DESCRIPTOR_ID
-
-
Constructor Summary
Constructors Constructor Description MarshallerRegistryDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getId()
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
-
-
-
-
Field Detail
-
klass
public Class<?> klass
-
enable
public boolean enable
-
-
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
-
-