Class MongoDBAuditBackendDescriptor

java.lang.Object
org.nuxeo.audit.mongodb.MongoDBAuditBackendDescriptor
All Implemented Interfaces:
Descriptor

public class MongoDBAuditBackendDescriptor extends Object implements Descriptor
Since:
2025.0
  • Field Details

    • name

      protected String name
    • enabled

      protected Boolean enabled
    • connectionId

      protected String connectionId
    • collectionName

      protected String collectionName
  • Constructor Details

    • MongoDBAuditBackendDescriptor

      public MongoDBAuditBackendDescriptor()
  • 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
    • getName

      public String getName()
    • iEnabled

      public boolean iEnabled()
    • getConnectionId

      public String getConnectionId()
      Returns:
      the configured connectionId or "audit/name" if null
    • getCollectionName

      public String getCollectionName()
      Returns:
      the configured collectionName or "audit" if null