Class 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
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected boolean m_MigrateToSynchro
      whether to migrate LWL to LWLSynchro as well.
      • 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
    • 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 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
    • Field Detail

      • m_MigrateToSynchro

        protected boolean m_MigrateToSynchro
        whether to migrate LWL to LWLSynchro as well.
    • Constructor Detail

      • FixLWLSynchroNoUpdate

        public FixLWLSynchroNoUpdate()
    • Method Detail

      • globalInfo

        public String globalInfo()
        Returns a string describing the object.
        Specified by:
        globalInfo in interface adams.core.GlobalInfoSupporter
        Specified by:
        globalInfo in class adams.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 interface adams.core.option.OptionHandler
        Overrides:
        defineOptions in class adams.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 class adams.flow.processor.AbstractActorProcessor
        Parameters:
        actor - the actor to process (is a copy of original for processors implementing ModifyingProcessor)
        See Also:
        ModifyingProcessor