public class ConfigurationModel
extends java.lang.Object
| Constructor and Description |
|---|
ConfigurationModel()
Constructor for our ConfigurationModel.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.String> |
getClientMods()
Getter for a list of clientside-only mods to exclude from server pack.
|
java.util.List<java.lang.String> |
getCopyDirs()
Getter for the list of directories in the modpack to copy to the server pack.
|
com.fasterxml.jackson.databind.JsonNode |
getCurseModpack()
Getter for the JsonNode containing all information about the CurseForge modpack.
|
java.lang.String |
getFileDiskName()
Getter for the disk-name of the CurseForge project file.
|
int |
getFileID()
Getter for the CurseForge file of a modpack, which will be created by
CurseCreateModpack.curseForgeModpack(ConfigurationModel, Integer, Integer). |
java.lang.String |
getFileName()
Getter for the name of the CurseForge project file.
|
boolean |
getIncludeServerIcon()
Getter for whether the server-icon.png should be included in the server pack.
|
boolean |
getIncludeServerInstallation()
Getter for whether the modloader server installation should be included.
|
boolean |
getIncludeServerProperties()
Getter for whether the server.properties should be included in the server pack.
|
boolean |
getIncludeZipCreation()
Getter for whether a ZIP-archive of the server pack should be created.
|
java.lang.String |
getJavaArgs()
Getter for the Java arguments with which the start-scripts will be generated.
|
java.lang.String |
getJavaPath()
Getter for the path to the Java executable/binary.
|
java.lang.String |
getMinecraftVersion()
Getter for the version of Minecraft used by the modpack.
|
java.lang.String |
getModLoader()
Getter for the modloader used by the modpack.
|
java.lang.String |
getModLoaderVersion()
Getter for the version of the modloader used by the modpack.
|
java.lang.String |
getModpackDir()
Getter for the path to the modpack directory.
|
int |
getProjectID()
Getter for the CurseForge projectID of a modpack, which will be created by
CurseCreateModpack.curseForgeModpack(ConfigurationModel, Integer, Integer). |
java.lang.String |
getProjectName()
Getter for the name of the CurseForge project.
|
java.lang.String |
getServerIconPath()
Getter for the path to the server-icon.png to include in the server pack.
|
java.lang.String |
getServerPackSuffix()
Getter for the suffix of the server pack to be generated.
|
java.lang.String |
getServerPropertiesPath()
Getter for the path of the server.properties to include in the server pack.
|
void |
setClientMods(java.util.List<java.lang.String> newClientMods)
Setter for the list of clientside-only mods to exclude from server pack.
|
void |
setCopyDirs(java.util.List<java.lang.String> newCopyDirs)
Setter for the list of directories in the modpack to copy to the server pack.
|
void |
setCurseModpack(com.fasterxml.jackson.databind.JsonNode curseModpack)
Setter for the JsonNode containing all information about the CurseForge modpack.
|
void |
setFileDiskName(java.lang.String fileName)
Setter for the disk-name of the CurseForge project file.
|
void |
setFileID(int newFileID)
Setter for the CurseForge file of a modpack, which will be created by
CurseCreateModpack.curseForgeModpack(ConfigurationModel, Integer, Integer). |
void |
setFileName(java.lang.String fileName)
Setter for the name of the CurseForge project file.
|
void |
setIncludeServerIcon(boolean newIncludeServerIcon)
Setter for whether the server-icon.png should be included in the server pack.
|
void |
setIncludeServerInstallation(boolean newIncludeServerInstallation)
Setter for whether the modloader server installation should be included.
|
void |
setIncludeServerProperties(boolean newIncludeServerProperties)
Setter for whether the server.properties should be included in the server pack.
|
void |
setIncludeZipCreation(boolean newIncludeZipCreation)
Setter for whether a ZIP-archive of the server pack should be created.
|
void |
setJavaArgs(java.lang.String javaArgs)
Setter for the Java arguments with which the start-scripts will be generated.
|
void |
setJavaPath(java.lang.String newJavaPath)
Setter for the path to the Java executable/binary.
|
void |
setMinecraftVersion(java.lang.String newMinecraftVersion)
Setter for the Minecraft version used by the modpack.
|
void |
setModLoader(java.lang.String newModLoader)
Setter for the modloader used by the modpack.
|
void |
setModLoaderVersion(java.lang.String newModLoaderVersion)
Setter for the version of the modloader used by the modpack.
|
void |
setModpackDir(java.lang.String newModpackDir)
Setter for the path to the modpack directory.
|
void |
setProjectID(int newProjectID)
Setter for the CurseForge projectID of a modpack, which will be created by
CurseCreateModpack.curseForgeModpack(ConfigurationModel, Integer, Integer). |
void |
setProjectName(java.lang.String projectName)
Setter for the name of the CurseForge project.
|
void |
setServerIconPath(java.lang.String serverIconPath)
Setter for the path of the server-icon.png to include in the server pack.
|
void |
setServerPackSuffix(java.lang.String serverPackSuffix)
Setter for the suffix of the server pack to be generated
|
void |
setServerPropertiesPath(java.lang.String serverPropertiesPath)
Setter for the path of the server.properties to include in the server pack.
|
java.lang.String |
toString() |
public ConfigurationModel()
public java.lang.String getServerPackSuffix()
public void setServerPackSuffix(java.lang.String serverPackSuffix)
serverPackSuffix - String. The suffix of the server pack to be generated.public java.util.List<java.lang.String> getClientMods()
public void setClientMods(java.util.List<java.lang.String> newClientMods)
newClientMods - The new list of clientside-only mods to store.public java.util.List<java.lang.String> getCopyDirs()
public void setCopyDirs(java.util.List<java.lang.String> newCopyDirs)
newCopyDirs - The new list of directories to include in server pack to store.public java.lang.String getModpackDir()
public void setModpackDir(java.lang.String newModpackDir)
newModpackDir - The new modpack directory path to store.public java.lang.String getJavaPath()
public void setJavaPath(java.lang.String newJavaPath)
newJavaPath - The new Java path to store.public java.lang.String getMinecraftVersion()
public void setMinecraftVersion(java.lang.String newMinecraftVersion)
newMinecraftVersion - The new Minecraft version to store.public java.lang.String getModLoader()
public void setModLoader(java.lang.String newModLoader)
newModLoader - The new modloader to store.public java.lang.String getModLoaderVersion()
public void setModLoaderVersion(java.lang.String newModLoaderVersion)
newModLoaderVersion - The new modloader version to store.public boolean getIncludeServerInstallation()
public void setIncludeServerInstallation(boolean newIncludeServerInstallation)
newIncludeServerInstallation - The new boolean to store.public boolean getIncludeServerIcon()
public void setIncludeServerIcon(boolean newIncludeServerIcon)
newIncludeServerIcon - The new boolean to store.public boolean getIncludeServerProperties()
public void setIncludeServerProperties(boolean newIncludeServerProperties)
newIncludeServerProperties - The new boolean to store.public boolean getIncludeZipCreation()
public void setIncludeZipCreation(boolean newIncludeZipCreation)
newIncludeZipCreation - The new boolean to store.public java.lang.String getJavaArgs()
public void setJavaArgs(java.lang.String javaArgs)
javaArgs - String. Sets the Java arguments with which the start-scripts will be generated.public com.fasterxml.jackson.databind.JsonNode getCurseModpack()
public void setCurseModpack(com.fasterxml.jackson.databind.JsonNode curseModpack)
curseModpack - JsonNode. The JsonNode containing all information about the CurseForge modpack.public int getProjectID()
CurseCreateModpack.curseForgeModpack(ConfigurationModel, Integer, Integer).public void setProjectID(int newProjectID)
CurseCreateModpack.curseForgeModpack(ConfigurationModel, Integer, Integer).newProjectID - The new projectID to store.public int getFileID()
CurseCreateModpack.curseForgeModpack(ConfigurationModel, Integer, Integer).public void setFileID(int newFileID)
CurseCreateModpack.curseForgeModpack(ConfigurationModel, Integer, Integer).newFileID - The new projectFileID to store.public java.lang.String getProjectName()
public void setProjectName(java.lang.String projectName)
projectName - String. The name of the CurseForge project.public java.lang.String getFileName()
public void setFileName(java.lang.String fileName)
fileName - String. The name of the CurseForge project file.public java.lang.String getFileDiskName()
public void setFileDiskName(java.lang.String fileName)
fileName - String. The disk-name of the CurseForge project file.public java.lang.String getServerIconPath()
public void setServerIconPath(java.lang.String serverIconPath)
serverIconPath - String. The path to the server-icon.png to include in the server pack.public java.lang.String getServerPropertiesPath()
public void setServerPropertiesPath(java.lang.String serverPropertiesPath)
serverPropertiesPath - String. The path to the server.properties to include in the server pack.public java.lang.String toString()
toString in class java.lang.Object