Class StoreContextBuilder

    • Constructor Detail

      • StoreContextBuilder

        public StoreContextBuilder()
    • Method Detail

      • newStoreContext

        public static ContentAddressableStorage newStoreContext​(StorageConfiguration configuration,
                                                                com.mongodb.client.MongoDatabase mongoDatabase)
                                                         throws java.security.cert.CertificateException,
                                                                java.security.NoSuchAlgorithmException,
                                                                java.security.KeyStoreException,
                                                                java.security.KeyManagementException,
                                                                java.io.IOException
        Parameters:
        configuration - StorageConfiguration
        Returns:
        ContentAddressableStorage : by default fileSystem or openstack-swift if it is configured
        Throws:
        java.security.cert.CertificateException
        java.security.NoSuchAlgorithmException
        java.security.KeyStoreException
        java.security.KeyManagementException
        java.io.IOException