Package adams.flow.processor
Class FixLWLSynchroNoUpdate
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.core.option.AbstractOptionHandler
-
- adams.flow.processor.AbstractActorProcessor
-
- adams.flow.processor.AbstractModifyingProcessor
-
- adams.flow.processor.FixLWLSynchroNoUpdate
-
- All Implemented Interfaces:
adams.core.Destroyable
,adams.core.GlobalInfoSupporter
,adams.core.logging.LoggingLevelHandler
,adams.core.logging.LoggingSupporter
,adams.core.option.OptionHandler
,adams.core.ShallowCopySupporter<adams.flow.processor.ActorProcessor>
,adams.core.SizeOfHandler
,adams.flow.processor.ActorProcessor
,adams.flow.processor.ModifyingProcessor
,Serializable
,Comparable<adams.flow.processor.ActorProcessor>
public class FixLWLSynchroNoUpdate extends adams.flow.processor.AbstractModifyingProcessor
Ensures that the 'noUpdate' flag is set in the LWLSynchro classifiers.- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FixLWLSynchroNoUpdate.LWLSynchroObserver
Sets the noUpdate flag of LWLSynchro classifiers.
-
Field Summary
Fields Modifier and Type Field Description protected boolean
m_MigrateToSynchro
whether to migrate LWL to LWLSynchro as well.
-
Constructor Summary
Constructors Constructor Description FixLWLSynchroNoUpdate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
defineOptions()
Adds options to the internal list of options.boolean
getMigrateToSynchro()
Returns whether to migrate to LWL instances to LWLSynchro as well.String
globalInfo()
Returns a string describing the object.String
migrateToSynchroTipText()
Returns the tip text for this property.protected void
processActor(adams.flow.core.Actor actor)
Performs the actual processing.void
setMigrateToSynchro(boolean value)
Sets whether to migrate LWL instances to LWLSynchro as well.-
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, 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
-
-
-
-
Method Detail
-
globalInfo
public String globalInfo()
Returns a string describing the object.- Specified by:
globalInfo
in interfaceadams.core.GlobalInfoSupporter
- Specified by:
globalInfo
in classadams.core.option.AbstractOptionHandler
- Returns:
- a description suitable for displaying in the gui
-
defineOptions
public void defineOptions()
Adds options to the internal list of options.- Specified by:
defineOptions
in interfaceadams.core.option.OptionHandler
- Overrides:
defineOptions
in classadams.core.option.AbstractOptionHandler
-
setMigrateToSynchro
public void setMigrateToSynchro(boolean value)
Sets whether to migrate LWL instances to LWLSynchro as well.- Parameters:
value
- true if to migrate
-
getMigrateToSynchro
public boolean getMigrateToSynchro()
Returns whether to migrate to LWL instances to LWLSynchro as well.- Returns:
- true if to migrate
-
migrateToSynchroTipText
public String migrateToSynchroTipText()
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(adams.flow.core.Actor actor)
Performs the actual processing.- Specified by:
processActor
in classadams.flow.processor.AbstractActorProcessor
- Parameters:
actor
- the actor to process (is a copy of original for processors implementing ModifyingProcessor)- See Also:
ModifyingProcessor
-
-