Package adams.core.logging.updater
Class AbstractWekaDebugUpdater
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.core.option.AbstractOptionHandler
-
- adams.core.logging.updater.AbstractWekaDebugUpdater
-
- All Implemented Interfaces:
Destroyable,GlobalInfoSupporter,LoggingLevelHandler,LoggingSupporter,LoggingLevelUpdater,OptionHandler,SizeOfHandler,Serializable
- Direct Known Subclasses:
WekaClassifierDebugUpdater,WekaClustererDebugUpdater,WekaFilterDebugUpdater
public abstract class AbstractWekaDebugUpdater extends AbstractOptionHandler implements 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 booleanm_NewDebugValuethe 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
-
-
Constructor Summary
Constructors Constructor Description AbstractWekaDebugUpdater()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddefineOptions()Adds options to the internal list of options.booleangetNewDebugValue()Returns the new value to use for the debug flag.StringnewDebugValueTipText()Returns the tip text for this property.voidsetNewDebugValue(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 class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface adams.core.logging.LoggingLevelHandler
getLoggingLevel
-
Methods inherited from interface adams.core.logging.updater.LoggingLevelUpdater
canUpdateLoggingLevel, updateLoggingLevel
-
-
-
-
Method Detail
-
defineOptions
public void defineOptions()
Adds options to the internal list of options.- Specified by:
defineOptionsin interfaceOptionHandler- Overrides:
defineOptionsin classAbstractOptionHandler
-
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.
-
-