Class AbstractWekaDebugUpdater

  • All Implemented Interfaces:
    adams.core.Destroyable, adams.core.GlobalInfoSupporter, adams.core.logging.LoggingLevelHandler, adams.core.logging.LoggingSupporter, adams.core.logging.updater.LoggingLevelUpdater, adams.core.option.OptionHandler, adams.core.SizeOfHandler, Serializable
    Direct Known Subclasses:
    WekaClassifierDebugUpdater, WekaClustererDebugUpdater, WekaFilterDebugUpdater

    public abstract class AbstractWekaDebugUpdater
    extends adams.core.option.AbstractOptionHandler
    implements adams.core.logging.updater.LoggingLevelUpdater
    Ancestor for Weka debug flag updaters.
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected boolean m_NewDebugValue
      the new debug flag value.
      • Fields inherited from class adams.core.option.AbstractOptionHandler

        m_OptionManager
      • Fields inherited from class adams.core.logging.LoggingObject

        m_Logger, m_LoggingIsEnabled, m_LoggingLevel
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void defineOptions()
      Adds options to the internal list of options.
      boolean getNewDebugValue()
      Returns the new value to use for the debug flag.
      String newDebugValueTipText()
      Returns the tip text for this property.
      void setNewDebugValue​(boolean value)
      Sets the new value to use for the debug flag.
      • Methods inherited from class adams.core.option.AbstractOptionHandler

        cleanUpOptions, destroy, finishInit, getDefaultLoggingLevel, getOptionManager, globalInfo, initialize, loggingLevelTipText, newOptionManager, reset, toCommandLine, toString
      • Methods inherited from class adams.core.logging.CustomLoggingLevelObject

        setLoggingLevel
      • Methods inherited from class adams.core.logging.LoggingObject

        configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
      • Methods inherited from interface adams.core.logging.LoggingLevelHandler

        getLoggingLevel
      • Methods inherited from interface adams.core.logging.updater.LoggingLevelUpdater

        canUpdateLoggingLevel, updateLoggingLevel
    • Field Detail

      • m_NewDebugValue

        protected boolean m_NewDebugValue
        the new debug flag value.
    • Constructor Detail

      • AbstractWekaDebugUpdater

        public AbstractWekaDebugUpdater()
    • Method Detail

      • defineOptions

        public void defineOptions()
        Adds options to the internal list of options.
        Specified by:
        defineOptions in interface adams.core.option.OptionHandler
        Overrides:
        defineOptions in class adams.core.option.AbstractOptionHandler
      • setNewDebugValue

        public void setNewDebugValue​(boolean value)
        Sets the new value to use for the debug flag.
        Parameters:
        value - the new value
      • getNewDebugValue

        public boolean getNewDebugValue()
        Returns the new value to use for the debug flag.
        Returns:
        the new value
      • newDebugValueTipText

        public String newDebugValueTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.