Package adams.core.logging.updater
Class WekaClustererDebugUpdater
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.core.option.AbstractOptionHandler
-
- adams.core.logging.updater.AbstractWekaDebugUpdater
-
- adams.core.logging.updater.WekaClustererDebugUpdater
-
- All Implemented Interfaces:
Destroyable,GlobalInfoSupporter,LoggingLevelHandler,LoggingSupporter,LoggingLevelUpdater,OptionHandler,SizeOfHandler,Serializable
public class WekaClustererDebugUpdater extends AbstractWekaDebugUpdater
Updates the debug flag of classes derived fromAbstractClusterer.- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class adams.core.logging.updater.AbstractWekaDebugUpdater
m_NewDebugValue
-
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 WekaClustererDebugUpdater()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanUpdateLoggingLevel(Object obj)Checks whether the logging level can be updated.StringglobalInfo()Returns a string describing the object.booleanupdateLoggingLevel(Object obj)Updates the logging level.-
Methods inherited from class adams.core.logging.updater.AbstractWekaDebugUpdater
defineOptions, getNewDebugValue, newDebugValueTipText, setNewDebugValue
-
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, destroy, finishInit, getDefaultLoggingLevel, getOptionManager, 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
-
-
-
-
Method Detail
-
globalInfo
public String globalInfo()
Returns a string describing the object.- Specified by:
globalInfoin interfaceGlobalInfoSupporter- Specified by:
globalInfoin classAbstractOptionHandler- Returns:
- a description suitable for displaying in the gui
-
canUpdateLoggingLevel
public boolean canUpdateLoggingLevel(Object obj)
Checks whether the logging level can be updated.- Parameters:
obj- the object to check- Returns:
- true if can be updated
-
updateLoggingLevel
public boolean updateLoggingLevel(Object obj)
Updates the logging level.- Parameters:
obj- the object to update- Returns:
- true if level was updated
-
-