P - インストールの進捗状況の型public class InstallResult<P extends Enum<P>> extends Object
| Constructor and Description |
|---|
InstallResult(boolean success,
InstallProgress<P,?> progress) |
| Modifier and Type | Method and Description |
|---|---|
String[] |
getInstalled()
インストールされたプラグインの名前を取得します。
|
int |
getInstalledCount()
インストールされたプラグインの数を取得します。
|
String[] |
getPending()
保留中としてマークされたプラグインの名前を取得します。
|
int |
getPendingCount()
保留中としてマークされたプラグインの数を取得します。
|
String[] |
getRemoved()
削除されたプラグインの名前を取得します。
|
int |
getRemovedCount()
削除されたプラグインの数を取得します。
|
String[] |
getUpgraded()
アップグレードされたプラグインの名前を取得します。
|
int |
getUpgradedCount()
アップグレードされたプラグインの数を取得します。
|
void |
printResultStatus(@NotNull net.kunmc.lab.peyangpaperutils.lib.terminal.Terminal terminal)
インストールの結果をコンソールに出力します。
|
public InstallResult(boolean success,
InstallProgress<P,?> progress)
public int getUpgradedCount()
public int getInstalledCount()
public int getRemovedCount()
public int getPendingCount()
public String[] getUpgraded()
public String[] getInstalled()
public String[] getRemoved()
public String[] getPending()
public void printResultStatus(@NotNull
@NotNull net.kunmc.lab.peyangpaperutils.lib.terminal.Terminal terminal)
terminal - 出力先のターミナルCopyright © 2023. All rights reserved.