Package org.nuxeo.audit.mongodb
Class MongoDBAuditBackendDescriptor
java.lang.Object
org.nuxeo.audit.mongodb.MongoDBAuditBackendDescriptor
- All Implemented Interfaces:
Descriptor
- Since:
- 2025.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Booleanprotected StringFields inherited from interface org.nuxeo.runtime.model.Descriptor
UNIQUE_DESCRIPTOR_ID -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.nuxeo.runtime.model.Descriptor
doesRemove, merge
-
Field Details
-
name
-
enabled
-
connectionId
-
collectionName
-
-
Constructor Details
-
MongoDBAuditBackendDescriptor
public MongoDBAuditBackendDescriptor()
-
-
Method Details
-
getId
Description copied from interface:DescriptorThe 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:
getIdin interfaceDescriptor
-
getName
-
iEnabled
public boolean iEnabled() -
getConnectionId
- Returns:
- the configured
connectionIdor "audit/name" if null
-
getCollectionName
- Returns:
- the configured
collectionNameor "audit" if null
-