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

public class ConfigEvent extends Object
The ConfigEvent class holds the configuration settings related to events for the EventManager application. It includes settings for printing logs to the console, saving logs to a file, debugging mode, informational mode, time format for logging events, and event format for logging events.
  • Constructor Details

    • ConfigEvent

      public ConfigEvent()
  • Method Details

    • getPrintToConsole

      public boolean getPrintToConsole()
      Deprecated.
      This feature was deprecated, with OutputEntry being the new method.
      Gets whether logs should be printed to the console.
      Returns:
      true if logs should be printed to the console, false otherwise.
    • setPrintToConsole

      public void setPrintToConsole(boolean printToConsole)
      Deprecated.
      This feature was deprecated, with OutputEntry being the new method.
      Sets whether logs should be printed to the console.
      Parameters:
      printToConsole - true to print logs to the console, false otherwise.
    • getPrintAndSaveToFile

      public boolean getPrintAndSaveToFile()
      Deprecated.
      This feature was deprecated, with OutputEntry being the new method.
      Gets whether logs should be printed and saved to a file.
      Returns:
      true if logs should be printed and saved to a file, false otherwise.
    • setPrintAndSaveToFile

      public void setPrintAndSaveToFile(boolean printAndSaveToFile)
      Deprecated.
      This feature was deprecated, with OutputEntry being the new method.
      Sets whether logs should be printed and saved to a file.
      Parameters:
      printAndSaveToFile - true to print and save logs to a file, false otherwise.
    • getDebuggingMode

      public boolean getDebuggingMode()
      Gets whether debugging mode is enabled.
      Returns:
      true if debugging mode is enabled, false otherwise.
    • setDebuggingMode

      public void setDebuggingMode(boolean debuggingMode)
      Sets whether debugging mode is enabled.
      Parameters:
      debuggingMode - true to enable debugging mode, false otherwise.
    • getInformationalMode

      public boolean getInformationalMode()
      Gets whether informational mode is enabled.
      Returns:
      true if informational mode is enabled, false otherwise.
    • setInformationalMode

      public void setInformationalMode(boolean informationalMode)
      Sets whether informational mode is enabled.
      Parameters:
      informationalMode - true to enable informational mode, false otherwise.
    • getTimeFormat

      public String getTimeFormat()
      Gets the time format for logging events.
      Returns:
      the time format for logging events.
    • setTimeFormat

      public void setTimeFormat(String timeFormat)
      Sets the time format for logging events.
      Parameters:
      timeFormat - the time format for logging events.
    • getEventFormat

      public String getEventFormat()
      Gets the event format for logging events.
      Returns:
      the event format for logging events.
    • setEventFormat

      public void setEventFormat(String eventFormat)
      Sets the event format for logging events.
      Parameters:
      eventFormat - the event format for logging events.