java.lang.Object
com.github.eventmanager.filehandlers.config.ConfigInternalEvents

public class ConfigInternalEvents extends Object
This class contains the configuration settings for the internal events file handler.

The configuration includes settings for the file path, file name, file extension, and whether the file handler is enabled.

  • Constructor Details

    • ConfigInternalEvents

      public ConfigInternalEvents()
  • Method Details

    • getFilePath

      public String getFilePath()
      Gets the file path where the internal events log will be stored.
      Returns:
      the file path as a String
    • setFilePath

      public void setFilePath(String filePath)
      Sets the file path where the internal events log will be stored.
      Parameters:
      filePath - the file path as a String
    • getFileName

      public String getFileName()
      Gets the file name for the internal events log.
      Returns:
      the file name as a String
    • setFileName

      public void setFileName(String fileName)
      Sets the file name for the internal events log.
      Parameters:
      fileName - the file name as a String
    • getFileExtension

      public String getFileExtension()
      Gets the file extension for the internal events log.
      Returns:
      the file extension as a String
    • setFileExtension

      public void setFileExtension(String fileExtension)
      Sets the file extension for the internal events log.
      Parameters:
      fileExtension - the file extension as a String
    • isEnabled

      public boolean isEnabled()
      Checks if the internal events file handler is enabled.
      Returns:
      true if the file handler is enabled, false otherwise
    • setEnabled

      public void setEnabled(boolean enabled)
      Enables or disables the internal events file handler.
      Parameters:
      enabled - true to enable the file handler, false to disable it