Class AddonDescription

java.lang.Object
me.hsgamer.hscore.addon.object.AddonDescription

public final class AddonDescription extends Object
The description for the Addon
  • Constructor Details

    • AddonDescription

      public AddonDescription(@NotNull @NotNull String name, @NotNull @NotNull String version, @NotNull @NotNull String mainClass, @NotNull @NotNull Map<String,Object> data)
      Create an addon description
      Parameters:
      name - the name of the addon
      version - the version of the addon
      mainClass - the main class of the addon
      data - the data of the addon
  • Method Details

    • getName

      @NotNull public @NotNull String getName()
      Get the name of the addon
      Returns:
      the name
    • getVersion

      @NotNull public @NotNull String getVersion()
      Get the version of the addon
      Returns:
      the version
    • getMainClass

      @NotNull public @NotNull String getMainClass()
      Get the main class of the addon
      Returns:
      the path to the main class
    • getData

      @NotNull public @NotNull Map<String,Object> getData()
      Get the data of the addon
      Returns:
      the data