Package adams.core.logging.updater
Class WekaClassifierDebugUpdater
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.core.option.AbstractOptionHandler
-
- adams.core.logging.updater.AbstractWekaDebugUpdater
-
- adams.core.logging.updater.WekaClassifierDebugUpdater
-
- 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
public class WekaClassifierDebugUpdater extends AbstractWekaDebugUpdater
Updates the debug flag of classes derived fromAbstractClassifier.- 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
-
-
Constructor Summary
Constructors Constructor Description WekaClassifierDebugUpdater()
-
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.LoggingObject
configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
-
-
-
-
Method Detail
-
globalInfo
public String globalInfo()
Returns a string describing the object.- Specified by:
globalInfoin interfaceadams.core.GlobalInfoSupporter- Specified by:
globalInfoin classadams.core.option.AbstractOptionHandler- 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
-
-