public class AuditLoggingStateRepository extends Object implements org.togglz.core.repository.StateRepository
StateRepository
implementation writing audit log entries when setting the state of a feature.Constructor and Description |
---|
AuditLoggingStateRepository(org.togglz.core.repository.StateRepository delegate) |
Modifier and Type | Method and Description |
---|---|
org.togglz.core.repository.FeatureState |
getFeatureState(org.togglz.core.Feature feature) |
void |
setFeatureState(org.togglz.core.repository.FeatureState featureState) |
protected void |
writeAuditLog(org.togglz.core.repository.FeatureState oldState,
org.togglz.core.repository.FeatureState newState) |
public AuditLoggingStateRepository(org.togglz.core.repository.StateRepository delegate)
protected void writeAuditLog(@Nullable org.togglz.core.repository.FeatureState oldState, org.togglz.core.repository.FeatureState newState)
public org.togglz.core.repository.FeatureState getFeatureState(org.togglz.core.Feature feature)
getFeatureState
in interface org.togglz.core.repository.StateRepository
public void setFeatureState(org.togglz.core.repository.FeatureState featureState)
setFeatureState
in interface org.togglz.core.repository.StateRepository
Copyright © 2018 SAP SE. All rights reserved.