public class CouchbaseAuditStore
extends java.lang.Object
implements io.flamingock.internal.core.external.store.CommunityAuditStore
| Modifier and Type | Method and Description |
|---|---|
static CouchbaseAuditStore |
from(io.flamingock.externalsystem.couchbase.api.CouchbaseExternalSystem targetSystem)
Creates a
CouchbaseAuditStore using the same Couchbase cluster and
bucket configured in the given CouchbaseExternalSystem. |
java.lang.String |
getId() |
io.flamingock.internal.core.external.store.lock.community.CommunityLockService |
getLockService() |
io.flamingock.internal.core.external.store.audit.community.CommunityAuditPersistence |
getPersistence() |
void |
initialize(io.flamingock.internal.common.core.context.ContextResolver baseContext) |
CouchbaseAuditStore |
withAuditRepositoryName(java.lang.String auditRepositoryName) |
CouchbaseAuditStore |
withAutoCreate(boolean autoCreate) |
CouchbaseAuditStore |
withLockRepositoryName(java.lang.String lockRepositoryName) |
CouchbaseAuditStore |
withScopeName(java.lang.String scopeName) |
public static CouchbaseAuditStore from(io.flamingock.externalsystem.couchbase.api.CouchbaseExternalSystem targetSystem)
CouchbaseAuditStore using the same Couchbase cluster and
bucket configured in the given CouchbaseExternalSystem.
Only the underlying Couchbase instance (cluster + bucket name) is reused. No additional target-system configuration is carried over.
targetSystem - the target system from which to derive the cluster and bucketpublic java.lang.String getId()
getId in interface io.flamingock.api.external.ExternalSystempublic CouchbaseAuditStore withScopeName(java.lang.String scopeName)
public CouchbaseAuditStore withAuditRepositoryName(java.lang.String auditRepositoryName)
public CouchbaseAuditStore withLockRepositoryName(java.lang.String lockRepositoryName)
public CouchbaseAuditStore withAutoCreate(boolean autoCreate)
public void initialize(io.flamingock.internal.common.core.context.ContextResolver baseContext)
initialize in interface io.flamingock.internal.common.core.context.ContextInitializablepublic io.flamingock.internal.core.external.store.audit.community.CommunityAuditPersistence getPersistence()
getPersistence in interface io.flamingock.internal.core.external.store.AuditStore<io.flamingock.internal.core.external.store.audit.community.CommunityAuditPersistence>public io.flamingock.internal.core.external.store.lock.community.CommunityLockService getLockService()
getLockService in interface io.flamingock.internal.core.external.store.CommunityAuditStore