public class PluginAutoRemover extends AbstractInstaller<AutoRemoveArgument,AutoRemoveErrorCause,AutoRemoveTasks>
AutoRemoveTasks.SEARCHING_REMOVABLES
- 自動削除対象のプラグインを検索する。AutoRemoveTasks.UNINSTALLING_PLUGINS
- 自動削除対象のプラグインを削除する。progress, registry, signalHandler
Constructor and Description |
---|
PluginAutoRemover(@NotNull KPMRegistry registry,
@NotNull SignalHandleManager signalHandler) |
Modifier and Type | Method and Description |
---|---|
InstallResult<AutoRemoveTasks> |
execute(@NotNull AutoRemoveArgument argument)
インストーラを実行します。
このメソッドを直接呼び出すことは推奨されておらず、
AbstractInstaller.run(InstallerArgument) を使用してください。 |
error, error, isPluginIgnored, postSignal, run, safeDelete, submitter, success, success
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getProgress, getRegistry
public PluginAutoRemover(@NotNull @NotNull KPMRegistry registry, @NotNull @NotNull SignalHandleManager signalHandler) throws IOException
IOException
public InstallResult<AutoRemoveTasks> execute(@NotNull @NotNull AutoRemoveArgument argument) throws TaskFailedException
AbstractInstaller
AbstractInstaller.run(InstallerArgument)
を使用してください。execute
in class AbstractInstaller<AutoRemoveArgument,AutoRemoveErrorCause,AutoRemoveTasks>
argument
- インストーラに渡す引数TaskFailedException
- インストールの途中でタスクが失敗した場合AbstractInstaller.run(InstallerArgument)
Copyright © 2023. All rights reserved.