Interface ExpansionDescription
public interface ExpansionDescription
The description for the
Expansion
-
Method Summary
Modifier and TypeMethodDescriptiongetData()
Get the extra data of the expansion@NotNull String
Get the main class of the expansion@NotNull String
getName()
Get the name of the expansion@NotNull String
Get the version of the expansionstatic ExpansionDescription
simple
(@NotNull String name, @NotNull String version, @NotNull String mainClass, @NotNull Map<String, Object> data) Create a simpleExpansionDescription
-
Method Details
-
simple
static ExpansionDescription simple(@NotNull @NotNull String name, @NotNull @NotNull String version, @NotNull @NotNull String mainClass, @NotNull @NotNull Map<String, Object> data) Create a simpleExpansionDescription
- Parameters:
name
- the nameversion
- the versionmainClass
- the main classdata
- the extra data- Returns:
- the
ExpansionDescription
-
getName
Get the name of the expansion- Returns:
- the name
-
getVersion
Get the version of the expansion- Returns:
- the version
-
getMainClass
Get the main class of the expansion- Returns:
- the path to the main class
-
getData
Get the extra data of the expansion- Returns:
- the data
-