Package adams.flow.processor
Class ChangeFilterUpdates
-
- All Implemented Interfaces:
Destroyable,GlobalInfoSupporter,LoggingLevelHandler,LoggingSupporter,OptionHandler,ShallowCopySupporter<ActorProcessor>,SizeOfHandler,ActorProcessor,ModifyingProcessor,Serializable,Comparable<ActorProcessor>
public class ChangeFilterUpdates extends AbstractModifyingProcessor
Changes whether filters update their ID and/or processing info.- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanm_DontUpdateIDwhether to suppress updating of ID.protected booleanm_DontUpdateProcessingInfowhether to suppress updating of processing information.-
Fields inherited from class adams.flow.processor.AbstractModifyingProcessor
m_Modified, m_ModifiedActor, m_NoCopy
-
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 ChangeFilterUpdates()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddefineOptions()Adds options to the internal list of options.StringdontUpdateIDTipText()Returns the tip text for this property.StringdontUpdateProcessingInfoTipText()Returns the tip text for this property.booleangetDontUpdateID()Returns whether ID update is suppressed.booleangetDontUpdateProcessingInfo()Returns whether processing information update is suppressed.StringglobalInfo()Returns a string describing the object.protected voidprocessActor(Actor actor)Performs the actual processing.voidsetDontUpdateID(boolean value)Sets whether ID update is suppressed.voidsetDontUpdateProcessingInfo(boolean value)Sets whether processing information update is suppressed.-
Methods inherited from class adams.flow.processor.AbstractModifyingProcessor
getModifiedActor, getNoCopy, initialize, isModified, process, setNoCopy
-
Methods inherited from class adams.flow.processor.AbstractActorProcessor
addError, addError, checkData, compareTo, equals, getErrors, hasErrors, reset, shallowCopy, shallowCopy
-
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, destroy, finishInit, getDefaultLoggingLevel, getOptionManager, loggingLevelTipText, newOptionManager, 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, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface adams.flow.processor.ActorProcessor
compareTo, getErrors, hasErrors, 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, getOptionManager, toCommandLine
-
-
-
-
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
-
defineOptions
public void defineOptions()
Adds options to the internal list of options.- Specified by:
defineOptionsin interfaceOptionHandler- Overrides:
defineOptionsin classAbstractOptionHandler
-
setDontUpdateID
public void setDontUpdateID(boolean value)
Sets whether ID update is suppressed.- Parameters:
value- true if to suppress
-
getDontUpdateID
public boolean getDontUpdateID()
Returns whether ID update is suppressed.- Returns:
- true if suppressed
-
dontUpdateIDTipText
public String dontUpdateIDTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
setDontUpdateProcessingInfo
public void setDontUpdateProcessingInfo(boolean value)
Sets whether processing information update is suppressed.- Parameters:
value- true if to suppress
-
getDontUpdateProcessingInfo
public boolean getDontUpdateProcessingInfo()
Returns whether processing information update is suppressed.- Returns:
- true if suppressed
-
dontUpdateProcessingInfoTipText
public String dontUpdateProcessingInfoTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
processActor
protected void processActor(Actor actor)
Performs the actual processing.- Specified by:
processActorin classAbstractActorProcessor- Parameters:
actor- the actor to process (is a copy of original for processors implementing ModifyingProcessor)- See Also:
ModifyingProcessor
-
-