public class AnnoyingDownload extends xyz.srnyx.javautilities.parents.Stringable implements Annoyable
AnnoyingDependencys| Constructor and Description |
|---|
AnnoyingDownload(@NotNull AnnoyingPlugin plugin,
@NotNull AnnoyingDependency dependency)
Constructor for
AnnoyingDownload with a single dependency |
AnnoyingDownload(@NotNull AnnoyingPlugin plugin,
@NotNull java.util.List<AnnoyingDependency> dependencies)
Constructor for
AnnoyingDownload with multiple dependencies |
| Modifier and Type | Method and Description |
|---|---|
void |
downloadPlugins(@Nullable java.lang.Runnable finishRunnable)
Downloads the plugins
|
@NotNull AnnoyingPlugin |
getAnnoyingPlugin()
The
AnnoyingPlugin instance |
public AnnoyingDownload(@NotNull
@NotNull AnnoyingPlugin plugin,
@NotNull
@NotNull java.util.List<AnnoyingDependency> dependencies)
AnnoyingDownload with multiple dependenciesplugin - the plugin that is downloading the dependenciesdependencies - the AnnoyingDependencys to downloadpublic AnnoyingDownload(@NotNull
@NotNull AnnoyingPlugin plugin,
@NotNull
@NotNull AnnoyingDependency dependency)
AnnoyingDownload with a single dependencyplugin - the plugin that is downloading the AnnoyingDependencydependency - the AnnoyingDependency to download@NotNull public @NotNull AnnoyingPlugin getAnnoyingPlugin()
AnnoyableAnnoyingPlugin instancegetAnnoyingPlugin in interface Annoyablepublic void downloadPlugins(@Nullable
@Nullable java.lang.Runnable finishRunnable)
finishRunnable - the Runnable to run when all plugins have been downloaded