Class BnetConfigSample
java.lang.Object
br.net.dd.netherwingcore.common.configuration.ConfigurationSample
br.net.dd.netherwingcore.bnetserver.configuration.BnetConfigSample
This class represents a sample configuration for the NetherwingCore Auth Server, providing a structured example of how to define
configuration options for the server. It extends
ConfigurationSample and initializes a Configuration object
with various sections, groups, and items that illustrate the expected format and content of the configuration file.
The BnetConfigSample class serves as a template for creating the actual configuration file used by the auth server,
demonstrating how to organize settings and provide detailed descriptions, examples, and default values for each configuration option.
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new instance ofBnetConfigSample, initializing the configuration with a sample structure and setting the file name for the configuration file. -
Method Summary
Modifier and TypeMethodDescriptionCreates a sampleConfigurationobject with predefined sections, groups, and items that illustrate the expected format and content of the configuration file.Creates a sampleConfigurationobject with predefined sections, groups, and items that illustrate the expected format and content of the configuration file.Methods inherited from class ConfigurationSample
getConfiguration, getFileName, setConfiguration, setFileName
-
Constructor Details
-
BnetConfigSample
public BnetConfigSample()Constructs a new instance ofBnetConfigSample, initializing the configuration with a sample structure and setting the file name for the configuration file.
-
-
Method Details
-
makeSample
Creates a sampleConfigurationobject with predefined sections, groups, and items that illustrate the expected format and content of the configuration file.- Returns:
- A
Configurationinstance representing the sample configuration for the NetherwingCore Auth Server.
-
createSample
Creates a sampleConfigurationobject with predefined sections, groups, and items that illustrate the expected format and content of the configuration file.- Returns:
- A
Configurationinstance representing the sample configuration for the NetherwingCore Auth Server.
-