public static class SubCreator.ServerTemplate
extends java.lang.Object
Constructor and Description |
---|
ServerTemplate(java.lang.String name,
boolean enabled,
java.lang.String icon,
java.io.File directory,
YAMLSection build,
YAMLSection options)
Create a SubCreator Template
|
Modifier and Type | Method and Description |
---|---|
YAMLSection |
getBuildOptions()
Get the Build Options for this Template
|
YAMLSection |
getConfigOptions()
Get the Configuration Options for this Template
|
java.io.File |
getDirectory()
Get the Directory for this Template
|
java.lang.String |
getDisplayName()
Get the Display Name of this Template
|
java.lang.String |
getIcon()
Get the Item Icon for this Template
|
java.lang.String |
getName()
Get the Name of this Template
|
SubCreator.ServerType |
getType()
Get the Type of this Template
|
boolean |
isEnabled()
Get the Enabled Status of this Template
|
void |
setDisplayName(java.lang.String value)
Sets the Display Name for this Template
|
void |
setEnabled(boolean value)
Set the Enabled Status of this Template
|
void |
setIcon(java.lang.String value)
Set the Item Icon for this Template
|
public ServerTemplate(java.lang.String name, boolean enabled, java.lang.String icon, java.io.File directory, YAMLSection build, YAMLSection options)
name
- Template Namedirectory
- Template Directorybuild
- Build Optionsoptions
- Configuration Optionspublic java.lang.String getName()
public java.lang.String getDisplayName()
public void setDisplayName(java.lang.String value)
value
- Value (or null to reset)public boolean isEnabled()
public void setEnabled(boolean value)
value
- Valuepublic java.lang.String getIcon()
public void setIcon(java.lang.String value)
value
- Valuepublic java.io.File getDirectory()
public SubCreator.ServerType getType()
public YAMLSection getBuildOptions()
public YAMLSection getConfigOptions()