PluginAddEvent
class PluginAddEvent(val repositoryPlugin: RepositoryPlugin, val versionSpecifier: VersionSpecifier, val repositoryType: String, val repositoryId: String) : Event, Cancellable
プラグインが管理対象に追加される際に発火するイベント
このイベントはmpm.jsonへの登録処理の前に呼び出される。 Cancellableを実装しているため、他のプラグインがこのイベントをキャンセルすることで 追加処理を中止させることができる。
Constructors
Link copied to clipboard
constructor(repositoryPlugin: RepositoryPlugin, versionSpecifier: VersionSpecifier, repositoryType: String, repositoryId: String)