Package me.hsgamer.hscore.addon.object
Class AddonDescription
java.lang.Object
me.hsgamer.hscore.addon.object.AddonDescription
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 addonversion- the version of the addonmainClass- the main class of the addondata- the data of the addon
-
-
Method Details
-
getName
Get the name of the addon- Returns:
- the name
-
getVersion
Get the version of the addon- Returns:
- the version
-
getMainClass
Get the main class of the addon- Returns:
- the path to the main class
-
getData
Get the data of the addon- Returns:
- the data
-