public abstract class AbstractInstallTask<A extends TaskArgument,R extends TaskResult<? extends Enum<?>,? extends Enum<?>>> extends Object implements InstallTask<A,R>
Modifier and Type | Class and Description |
---|---|
protected static interface |
AbstractInstallTask.ThrowingRunnable |
protected static interface |
AbstractInstallTask.ThrowingSupplier<T> |
Modifier and Type | Field and Description |
---|---|
protected @NotNull InstallProgress<? extends Enum<?>,? extends PluginInstaller<? extends InstallerArgument,? extends Enum<?>,? extends Enum<?>>> |
progress |
Constructor and Description |
---|
AbstractInstallTask() |
Modifier and Type | Method and Description |
---|---|
protected void |
postSignal(@NotNull Signal signal) |
protected void |
runSync(@NotNull Runnable runnable) |
protected <T> T |
runSync(@NotNull Supplier<T> supplier) |
protected void |
runSyncThrowing(@NotNull AbstractInstallTask.ThrowingRunnable runnable) |
protected <T> T |
runSyncThrowing(@NotNull AbstractInstallTask.ThrowingSupplier<T> supplier) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
runTask
@NotNull protected final @NotNull InstallProgress<? extends Enum<?>,? extends PluginInstaller<? extends InstallerArgument,? extends Enum<?>,? extends Enum<?>>> progress
protected void postSignal(@NotNull @NotNull Signal signal)
protected void runSyncThrowing(@NotNull @NotNull AbstractInstallTask.ThrowingRunnable runnable) throws Exception
Exception
protected <T> T runSyncThrowing(@NotNull @NotNull AbstractInstallTask.ThrowingSupplier<T> supplier) throws Exception
Exception
protected void runSync(@NotNull @NotNull Runnable runnable)
protected <T> T runSync(@NotNull @NotNull Supplier<T> supplier)
Copyright © 2023. All rights reserved.