Package org.nuxeo.ecm.core.event.stream
Class DomainEventProducerDescriptor
java.lang.Object
org.nuxeo.ecm.core.event.stream.DomainEventProducerDescriptor
- All Implemented Interfaces:
Descriptor
Defines a Domain Event Producer
- Since:
- 11.4
-
Field Summary
Modifier and TypeFieldDescriptionprotected Class<? extends DomainEventProducer>
protected boolean
protected String
Fields inherited from interface org.nuxeo.runtime.model.Descriptor
UNIQUE_DESCRIPTOR_ID
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetId()
The descriptor id, descriptors with same id are merged.getName()
boolean
void
setEnabled
(boolean isEnabled) 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 Details
-
name
-
isEnabled
protected boolean isEnabled -
domainEventProducerClass
-
options
-
stream
-
-
Constructor Details
-
DomainEventProducerDescriptor
public DomainEventProducerDescriptor()
-
-
Method Details
-
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
-
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean isEnabled) -
newInstance
-
getStream
-
getName
-