OutdatedNotificationLedgerImpl

OutdatedNotificationLedger の実装

プラグインのデータフォルダ直下の outdated-notified.json に 「プラグイン名 -> 通知時の最新バージョン(raw)」を素の JSON オブジェクトとして保存する。 書き込みは他の設定ファイルと同じく AtomicFileWriter に委ね、途中でサーバーが落ちても 台帳が壊れないようにする。

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open fun getKoin(): Koin
Link copied to clipboard
open suspend override fun load(): Map<String, String>
Link copied to clipboard
open suspend override fun record(notified: Map<String, String>, managedPlugins: Set<String>): Either<String, Unit>