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 String
protected String
protected Boolean
protected String
Fields 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, wait
Methods 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: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
-
getName
-
iEnabled
public boolean iEnabled() -
getConnectionId
- Returns:
- the configured
connectionId
or "audit/name
" if null
-
getCollectionName
- Returns:
- the configured
collectionName
or "audit" if null
-