/
rgd045
/
crypt-file
Обзор
Документация
Войти
/
rgd045
/
crypt-file
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
src/main/java/org/cryptomator/common/vaults/VaultComponent.java
30 строк
1014 B
Armin Schrenk
adapt to new APIs
07 ноя 2022, 16:49
Не верифицирован
07 ноя 2022, 16:49
0f84d0c
Код
Авторство
О чём код?
/******************************************************************************* * Copyright (c) 2017 Skymatic UG (haftungsbeschränkt). * All rights reserved. This program and the accompanying materials * are made available under the terms of the accompanying LICENSE file. *******************************************************************************/ package org.cryptomator.common.vaults; import dagger.BindsInstance; import dagger.Subcomponent; import org.cryptomator.common.Nullable; import org.cryptomator.common.settings.VaultSettings; import javax.inject.Named; @PerVault @Subcomponent(modules = {VaultModule.class}) public interface VaultComponent { Vault vault(); @Subcomponent.Factory interface Factory { VaultComponent create(@BindsInstance VaultSettings vaultSettings, // @BindsInstance VaultConfigCache configCache, // @BindsInstance VaultState.Value vaultState, // @BindsInstance @Nullable @Named("lastKnownException") Exception initialErrorCause); } }