Class ReceiverConfigurationPanel.PanelModel

  • Enclosing class:
    ReceiverConfigurationPanel

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

      • file

        private java.io.File file
      • cancelled

        private boolean cancelled
      • lastLogFormat

        private java.lang.String lastLogFormat
      • saveConfigFile

        private java.io.File saveConfigFile
    • Constructor Detail

      • PanelModel

        public PanelModel()
    • Method Detail

      • isNetworkReceiverMode

        boolean isNetworkReceiverMode()
      • getNetworkReceiverPort

        int getNetworkReceiverPort()
      • getNetworkReceiverClass

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

        boolean isLoadConfig()
      • isLogFileReceiverConfig

        boolean isLogFileReceiverConfig()
      • isLog4jConfig

        boolean isLog4jConfig()
      • getConfigToLoad

        java.net.URL getConfigToLoad()
      • getDefaultConfigFileURL

        java.net.URL getDefaultConfigFileURL()
      • getSaveConfigFile

        java.io.File getSaveConfigFile()
      • setSaveConfigFile

        void setSaveConfigFile​(java.io.File file)
      • getLogFileURL

        java.net.URL getLogFileURL()
      • getLogFormat

        java.lang.String getLogFormat()
      • isPatternLayoutLogFormat

        boolean isPatternLayoutLogFormat()
      • getLogFormatTimestampFormat

        java.lang.String getLogFormatTimestampFormat()
      • setCancelled

        public void setCancelled​(boolean cancelled)
      • setLogFormat

        public void setLogFormat​(java.lang.String lastLogFormat)
      • isCancelled

        public boolean isCancelled()
      • getLog4jConfigFile

        public java.io.File getLog4jConfigFile()