Interface ExpansionDescription


public interface ExpansionDescription
The description for the Expansion
  • 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 simple ExpansionDescription
      Parameters:
      name - the name
      version - the version
      mainClass - the main class
      data - the extra data
      Returns:
      the ExpansionDescription
    • getName

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

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

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

      @NotNull default @NotNull Map<String,Object> getData()
      Get the extra data of the expansion
      Returns:
      the data