Package adams.gui.flow.tree.actorswap
Class ActorHandlerSuggestion
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.core.option.AbstractOptionHandler
-
- adams.gui.flow.tree.actorswap.AbstractActorSwapSuggestion
-
- adams.gui.flow.tree.actorswap.ActorHandlerSuggestion
-
- All Implemented Interfaces:
Destroyable
,GlobalInfoSupporter
,LoggingLevelHandler
,LoggingSupporter
,OptionHandler
,SizeOfHandler
,Serializable
public class ActorHandlerSuggestion extends AbstractActorSwapSuggestion
Finds potential swap partners forActorHandler
.- Author:
- FracPete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected static List<Class>
m_Blacklisted
classes/interfaces flagged as blacklisted.protected static Properties
m_Properties
the properties.protected static Set<Class>
m_Suppressed
the blacklist cache.static String
PROPERTIES_FILENAME
the properties file to load.-
Fields inherited from class adams.gui.flow.tree.actorswap.AbstractActorSwapSuggestion
LOGGER, m_Cache
-
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 ActorHandlerSuggestion()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<Actor>
doSuggest(Actor current)
Performs the actual search for candidates.protected static Properties
getProperties()
Returns the properties with the suggestions.String
globalInfo()
Returns a string describing the object.protected static void
initBlacklisting()
Initializes the blacklisting.-
Methods inherited from class adams.gui.flow.tree.actorswap.AbstractActorSwapSuggestion
suggest, suggestAll
-
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, defineOptions, destroy, finishInit, getDefaultLoggingLevel, getOptionManager, initialize, loggingLevelTipText, newOptionManager, reset, setLoggingLevel, toCommandLine, toString
-
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
-
-
-
-
Field Detail
-
PROPERTIES_FILENAME
public static final String PROPERTIES_FILENAME
the properties file to load.- See Also:
- Constant Field Values
-
m_Properties
protected static Properties m_Properties
the properties.
-
-
Method Detail
-
globalInfo
public String globalInfo()
Returns a string describing the object.- Specified by:
globalInfo
in interfaceGlobalInfoSupporter
- Specified by:
globalInfo
in classAbstractOptionHandler
- Returns:
- a description suitable for displaying in the gui
-
doSuggest
protected List<Actor> doSuggest(Actor current)
Performs the actual search for candidates.- Specified by:
doSuggest
in classAbstractActorSwapSuggestion
- Parameters:
current
- the actor to find potential swaps for- Returns:
- the list of potential swaps
-
getProperties
protected static Properties getProperties()
Returns the properties with the suggestions.- Returns:
- the suggestions
-
initBlacklisting
protected static void initBlacklisting()
Initializes the blacklisting.
-
-