Class DomainEventProducerDescriptor

java.lang.Object
org.nuxeo.ecm.core.event.stream.DomainEventProducerDescriptor
All Implemented Interfaces:
Descriptor

public class DomainEventProducerDescriptor extends Object implements Descriptor
Defines a Domain Event Producer
Since:
11.4
  • Field Details

  • Constructor Details

    • DomainEventProducerDescriptor

      public DomainEventProducerDescriptor()
  • Method Details

    • 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 interface Descriptor
    • isEnabled

      public boolean isEnabled()
    • setEnabled

      public void setEnabled(boolean isEnabled)
    • newInstance

      public DomainEventProducer newInstance()
    • getStream

    • getName

      public String getName()