Package adams.flow.processor
Class ListAllStorageNames
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.core.option.AbstractOptionHandler
-
- adams.flow.processor.AbstractActorProcessor
-
- adams.flow.processor.ListAllStorageNames
-
- All Implemented Interfaces:
Destroyable
,GlobalInfoSupporter
,LoggingLevelHandler
,LoggingSupporter
,OptionHandler
,ShallowCopySupporter<ActorProcessor>
,SizeOfHandler
,ActorProcessor
,GraphicalOutputProducingProcessor
,ListingProcessor
,Serializable
,Comparable<ActorProcessor>
public class ListAllStorageNames extends AbstractActorProcessor implements GraphicalOutputProducingProcessor, ListingProcessor
Lists all storage name occurrences in the flow whether being set or used.
-logging-level <OFF|SEVERE|WARNING|INFO|CONFIG|FINE|FINER|FINEST> (property: loggingLevel) The logging level for outputting errors and debugging output. default: WARNING
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected List<String>
m_StorageNames
the storage names in use.-
Fields inherited from class adams.flow.processor.AbstractActorProcessor
m_Errors
-
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 ListAllStorageNames()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Component
getGraphicalOutput()
Returns the graphical output that was generated.List<String>
getList()
Returns the list.List<String>
getStorageNames()
Returns the storage names.String
getTitle()
Returns the title for the dialog.String
globalInfo()
Returns a string describing the object.boolean
hasGraphicalOutput()
Returns whether graphical output was generated.protected void
initialize()
Initializes the members.protected void
processActor(Actor actor)
Performs the actual processing.-
Methods inherited from class adams.flow.processor.AbstractActorProcessor
addError, addError, checkData, compareTo, equals, getErrors, hasErrors, process, reset, shallowCopy, shallowCopy
-
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, defineOptions, destroy, finishInit, getDefaultLoggingLevel, getOptionManager, loggingLevelTipText, newOptionManager, 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, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface adams.flow.processor.ActorProcessor
compareTo, getErrors, hasErrors, process, shallowCopy, shallowCopy
-
Methods inherited from interface adams.core.Destroyable
destroy
-
Methods inherited from interface adams.core.logging.LoggingLevelHandler
getLoggingLevel
-
Methods inherited from interface adams.core.option.OptionHandler
cleanUpOptions, defineOptions, getOptionManager, toCommandLine
-
-
-
-
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
-
initialize
protected void initialize()
Initializes the members.- Overrides:
initialize
in classAbstractActorProcessor
-
processActor
protected void processActor(Actor actor)
Performs the actual processing.- Specified by:
processActor
in classAbstractActorProcessor
- Parameters:
actor
- the actor to process- See Also:
ModifyingProcessor
-
hasGraphicalOutput
public boolean hasGraphicalOutput()
Returns whether graphical output was generated.- Specified by:
hasGraphicalOutput
in interfaceGraphicalOutputProducingProcessor
- Returns:
- true if graphical output was generated
-
getTitle
public String getTitle()
Returns the title for the dialog.- Specified by:
getTitle
in interfaceGraphicalOutputProducingProcessor
- Returns:
- the title
-
getGraphicalOutput
public Component getGraphicalOutput()
Returns the graphical output that was generated.- Specified by:
getGraphicalOutput
in interfaceGraphicalOutputProducingProcessor
- Returns:
- the graphical output
-
getStorageNames
public List<String> getStorageNames()
Returns the storage names.- Returns:
- the storage names
-
getList
public List<String> getList()
Returns the list.- Specified by:
getList
in interfaceListingProcessor
- Returns:
- the list
-
-