Class JaversMongoProperties


  • @ConfigurationProperties(prefix="javers")
    public class JaversMongoProperties
    extends org.javers.spring.JaversSpringProperties
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  JaversMongoProperties.Mongodb
      If javers.mongodb configuration is non-empty, Javers uses it to connect to the dedicated MongoDB.
      • Nested classes/interfaces inherited from class org.javers.core.JaversCoreProperties

        org.javers.core.JaversCoreProperties.PrettyPrintDateFormats
    • Constructor Detail

      • JaversMongoProperties

        public JaversMongoProperties()
    • Method Detail

      • isDocumentDbCompatibilityEnabled

        public boolean isDocumentDbCompatibilityEnabled()
      • setDocumentDbCompatibilityEnabled

        public void setDocumentDbCompatibilityEnabled​(boolean documentDbCompatibilityEnabled)
      • getSnapshotsCacheSize

        public int getSnapshotsCacheSize()
      • setSnapshotsCacheSize

        public void setSnapshotsCacheSize​(int cacheSize)
      • isDedicatedMongodbConfigurationEnabled

        public boolean isDedicatedMongodbConfigurationEnabled()
      • defaultObjectAccessHook

        protected java.lang.String defaultObjectAccessHook()
        Specified by:
        defaultObjectAccessHook in class org.javers.spring.JaversSpringProperties