Class ConfigurationSample

java.lang.Object
br.net.dd.netherwingcore.common.configuration.ConfigurationSample
Direct Known Subclasses:
BnetConfigSample

public abstract class ConfigurationSample extends Object
This abstract class represents a sample configuration that can be used to initialize the application's Configuration.

Subclasses of ConfigurationSample should provide specific implementations for loading and saving configuration data, as well as defining the structure of the configuration file.

  • Constructor Details

    • ConfigurationSample

      public ConfigurationSample()
  • Method Details

    • getFileName

      public String getFileName()
      Retrieves the file name associated with this configuration.
      Returns:
      the file name as a String.
    • setFileName

      public void setFileName(String fileName)
      Sets the file name associated with this configuration.
      Parameters:
      fileName - the file name to set as a String.
    • getConfiguration

      public Configuration getConfiguration()
      Retrieves the configuration object associated with this sample.
      Returns:
      the Configuration instance.
    • setConfiguration

      public void setConfiguration(Configuration configuration)
      Sets the configuration object associated with this sample.
      Parameters:
      configuration - the Configuration instance to set.