Class EventDescriptor

java.lang.Object
org.nuxeo.audit.service.extension.EventDescriptor
All Implemented Interfaces:
Descriptor

@Deprecated(since="2025.16", forRemoval=true) public class EventDescriptor extends Object implements Descriptor
Deprecated, for removal: This API element is subject to removal in a future version.
since 2025.16, use AuditRouteDescriptor instead
Really simple auditable event descriptor.
Author:
Julien Anguenot
  • Field Details

    • extendedInfoDescriptors

      protected List<ExtendedInfoDescriptor> extendedInfoDescriptors
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Constructor Details

    • EventDescriptor

      public EventDescriptor()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • getId

      public String getId()
      Deprecated, for removal: This API element is subject to removal in a future version.
      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
    • getName

      public String getName()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setName

      public void setName(String name)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • isEnabled

      public boolean isEnabled()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getEnabled

      @Deprecated(since="2025.0", forRemoval=true) public boolean getEnabled()
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 2025.0, use isEnabled() instead
    • setEnabled

      public void setEnabled(boolean enabled)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getExtendedInfoDescriptors

      public List<ExtendedInfoDescriptor> getExtendedInfoDescriptors()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Since:
      7.4
    • setExtendedInfoDescriptors

      public void setExtendedInfoDescriptors(List<ExtendedInfoDescriptor> extendedInfoDescriptors)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Since:
      7.4
    • merge

      public Descriptor merge(Descriptor o)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: Descriptor
      Returns a descriptor representing other merged into this

      Default implementation returns other.

      Specified by:
      merge in interface Descriptor
      Returns:
      the merged descriptor
    • toAuditRoute

      public AuditRouteDescriptor toAuditRoute()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Since:
      2025.16
    • toExtendedInfos

      public List<ExtendedInfoDescriptor> toExtendedInfos()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Since:
      2025.16