Package xyz.srnyx.annoyingapi.dependency
Class AnnoyingDownload
java.lang.Object
xyz.srnyx.annoyingapi.parents.AnnoyableClass
xyz.srnyx.annoyingapi.dependency.AnnoyingDownload
- All Implemented Interfaces:
Annoyable
Used for downloading
AnnoyingDependencies-
Field Summary
Fields inherited from class xyz.srnyx.annoyingapi.parents.AnnoyableClass
annoyingPlugin -
Constructor Summary
ConstructorsConstructorDescriptionAnnoyingDownload(@NotNull AnnoyingPlugin plugin, @NotNull List<AnnoyingDependency> dependencies) Constructor forAnnoyingDownloadwith multiple dependenciesAnnoyingDownload(@NotNull AnnoyingPlugin plugin, @NotNull AnnoyingDependency dependency) Constructor forAnnoyingDownloadwith a single dependency -
Method Summary
Modifier and TypeMethodDescriptionvoiddownloadPlugins(@Nullable Runnable finishRunnable) Downloads the plugins@NotNull StringtoString()Methods inherited from class xyz.srnyx.annoyingapi.parents.AnnoyableClass
getAnnoyingPlugin
-
Constructor Details
-
AnnoyingDownload
public AnnoyingDownload(@NotNull @NotNull AnnoyingPlugin plugin, @NotNull @NotNull List<AnnoyingDependency> dependencies) Constructor forAnnoyingDownloadwith multiple dependencies- Parameters:
plugin- the plugin that is downloading the dependenciesdependencies- theAnnoyingDependencys to download
-
AnnoyingDownload
public AnnoyingDownload(@NotNull @NotNull AnnoyingPlugin plugin, @NotNull @NotNull AnnoyingDependency dependency) Constructor forAnnoyingDownloadwith a single dependency- Parameters:
plugin- the plugin that is downloading theAnnoyingDependencydependency- theAnnoyingDependencyto download
-
-
Method Details