Class ReceiverConfigurationPanel.PanelModel

java.lang.Object
org.apache.log4j.chainsaw.ReceiverConfigurationPanel.PanelModel
Enclosing class:
ReceiverConfigurationPanel

class ReceiverConfigurationPanel.PanelModel extends Object
This class represents the model of the chosen options the user has configured.
  • Field Details

    • file

      private File file
    • cancelled

      private boolean cancelled
    • lastLogFormat

      private String lastLogFormat
    • saveConfigFile

      private File saveConfigFile
  • Constructor Details

    • PanelModel

      public PanelModel()
  • Method Details

    • isNetworkReceiverMode

      boolean isNetworkReceiverMode()
    • getNetworkReceiverPort

      int getNetworkReceiverPort()
    • getNetworkReceiverClass

      Class<? extends Receiver> getNetworkReceiverClass() throws ClassNotFoundException
      Throws:
      ClassNotFoundException
    • isLoadConfig

      boolean isLoadConfig()
    • isLogFileReceiverConfig

      boolean isLogFileReceiverConfig()
    • isLog4jConfig

      boolean isLog4jConfig()
    • getConfigToLoad

      URL getConfigToLoad()
    • getDefaultConfigFileURL

      URL getDefaultConfigFileURL()
    • getSaveConfigFile

      File getSaveConfigFile()
    • setSaveConfigFile

      void setSaveConfigFile(File file)
    • getLogFileURL

      URL getLogFileURL()
    • getLogFormat

      String getLogFormat()
    • isPatternLayoutLogFormat

      boolean isPatternLayoutLogFormat()
    • getLogFormatTimestampFormat

      String getLogFormatTimestampFormat()
    • setCancelled

      public void setCancelled(boolean cancelled)
    • setLogFormat

      public void setLogFormat(String lastLogFormat)
    • isCancelled

      public boolean isCancelled()
    • getLog4jConfigFile

      public File getLog4jConfigFile()