Adds and improves comments for server types and profile
This commit is contained in:
@ -10,6 +10,9 @@ import static net.knarcraft.minecraftserverlauncher.utility.CommonFunctions.down
|
||||
import static net.knarcraft.minecraftserverlauncher.utility.CommonFunctions.readFile;
|
||||
import static net.knarcraft.minecraftserverlauncher.utility.CommonFunctions.stringBetween;
|
||||
|
||||
/**
|
||||
* This class represents the BungeeCord proxy server type
|
||||
*/
|
||||
public class BungeeCord extends AbstractServerType {
|
||||
|
||||
private final String versionURL;
|
||||
|
@ -13,7 +13,7 @@ public class CraftBukkit extends AbstractServerType {
|
||||
private final String downloadURLPart;
|
||||
|
||||
/**
|
||||
* Instantiates a new server type
|
||||
* Instantiates a new CraftBukkit server type
|
||||
*
|
||||
* @param typeName <p>The name of the server type</p>
|
||||
* @param isProxy <p>Whether this server type is a proxy server</p>
|
||||
|
@ -4,9 +4,9 @@ import java.io.File;
|
||||
|
||||
public class Custom extends AbstractServerType {
|
||||
/**
|
||||
* Instantiates a new server type
|
||||
* Instantiates a new custom server type
|
||||
*
|
||||
* @param typeName <p>The name of the server type</p>
|
||||
* @param typeName <p>The name of the server type</p>
|
||||
*/
|
||||
public Custom(String typeName) {
|
||||
super(typeName, false, new String[]{}, "");
|
||||
|
@ -1,9 +1,12 @@
|
||||
package net.knarcraft.minecraftserverlauncher.server.servertypes;
|
||||
|
||||
/**
|
||||
* This class represents the MCPC+ Minecraft server type
|
||||
*/
|
||||
public class MCPCPlus extends CraftBukkit {
|
||||
|
||||
/**
|
||||
* Instantiates a new server type
|
||||
* Instantiates a new MCPCplus server type
|
||||
*
|
||||
* @param typeName <p>The name of the server type</p>
|
||||
* @param isProxy <p>Whether this server type is a proxy server</p>
|
||||
|
@ -1,11 +1,14 @@
|
||||
package net.knarcraft.minecraftserverlauncher.server.servertypes;
|
||||
|
||||
/**
|
||||
* This class represents the Paper Minecraft server type
|
||||
*/
|
||||
public class Paper extends Spigot {
|
||||
|
||||
/**
|
||||
* Instantiates a new server type
|
||||
* Instantiates a new Paper server type
|
||||
*
|
||||
* @param typeName <p>The typeName of the server type</p>
|
||||
* @param typeName <p>The name of the server type</p>
|
||||
* @param isProxy <p>Whether this server type is a proxy server</p>
|
||||
* @param versions <p>A list of one or more server versions for the type</p>
|
||||
* @param downloadURL <p>The URL used for downloading .jar files</p>
|
||||
|
@ -1,11 +1,14 @@
|
||||
package net.knarcraft.minecraftserverlauncher.server.servertypes;
|
||||
|
||||
/**
|
||||
* This class represents the CraftBukkit Minecraft server type
|
||||
*/
|
||||
public class Spigot extends CraftBukkit {
|
||||
|
||||
/**
|
||||
* Instantiates a new server type
|
||||
* Instantiates a new Spigot server type
|
||||
*
|
||||
* @param typeName <p>The typeName of the server type</p>
|
||||
* @param typeName <p>The name of the server type</p>
|
||||
* @param isProxy <p>Whether this server type is a proxy server</p>
|
||||
* @param versions <p>A list of one or more server versions for the type</p>
|
||||
* @param downloadURL <p>The URL used for downloading .jar files</p>
|
||||
|
@ -9,6 +9,9 @@ import java.nio.file.Paths;
|
||||
|
||||
import static net.knarcraft.minecraftserverlauncher.utility.CommonFunctions.downloadFile;
|
||||
|
||||
/**
|
||||
* This class represents the SpongeVanilla Minecraft server type
|
||||
*/
|
||||
public class SpongeVanilla extends AbstractServerType {
|
||||
|
||||
private final String versionURL;
|
||||
|
@ -2,6 +2,9 @@ package net.knarcraft.minecraftserverlauncher.server.servertypes;
|
||||
|
||||
import net.knarcraft.minecraftserverlauncher.server.ServerVersionContainer;
|
||||
|
||||
/**
|
||||
* This class represents the Travertine proxy server type
|
||||
*/
|
||||
public class Travertine extends Waterfall {
|
||||
|
||||
/**
|
||||
|
@ -15,7 +15,7 @@ import static net.knarcraft.minecraftserverlauncher.utility.CommonFunctions.down
|
||||
import static net.knarcraft.minecraftserverlauncher.utility.CommonFunctions.readFile;
|
||||
|
||||
/**
|
||||
* This class represents the regular vanilla server type
|
||||
* This class represents the regular vanilla Minecraft server type
|
||||
*/
|
||||
public class Vanilla extends AbstractServerType {
|
||||
|
||||
|
@ -11,6 +11,9 @@ import static net.knarcraft.minecraftserverlauncher.utility.CommonFunctions.down
|
||||
import static net.knarcraft.minecraftserverlauncher.utility.CommonFunctions.readFile;
|
||||
import static net.knarcraft.minecraftserverlauncher.utility.CommonFunctions.stringBetween;
|
||||
|
||||
/**
|
||||
* This class represents the Travertine proxy server type
|
||||
*/
|
||||
public class Waterfall extends AbstractServerType {
|
||||
|
||||
private final String srcStart;
|
||||
|
Reference in New Issue
Block a user