Class ChangeNumThreads

    • Field Detail

      • m_OldNumThreads

        protected int m_OldNumThreads
        the old setting.
      • m_ChangeAll

        protected boolean m_ChangeAll
        whether to change all settings.
      • m_RegExp

        protected BaseRegExp m_RegExp
        the classnames to limit the change to.
      • m_NewNumThreads

        protected int m_NewNumThreads
        the setting.
    • Constructor Detail

      • ChangeNumThreads

        public ChangeNumThreads()
    • Method Detail

      • setOldNumThreads

        public void setOldNumThreads​(int value)
        Sets the old setting to replace.
        Parameters:
        value - the old setting
      • getOldNumThreads

        public int getOldNumThreads()
        Returns the old setting to replace.
        Returns:
        the old setting
      • oldNumThreadsTipText

        public String oldNumThreadsTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the gui
      • setChangeAll

        public void setChangeAll​(boolean value)
        Sets whether to change all settings, not just the ones that match the specified old setting.
        Parameters:
        value - true if change all
      • getChangeAll

        public boolean getChangeAll()
        Returns whether to change all settings, not just the ones that match the specified old setting.
        Returns:
        true if to change all
      • changeAllTipText

        public String changeAllTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the gui
      • setRegExp

        public void setRegExp​(BaseRegExp value)
        Sets the regular expression to apply to the classname of the object for limiting the scope of the replacement.
        Parameters:
        value - the expression
      • getRegExp

        public BaseRegExp getRegExp()
        Returns the regular expression to apply to the classname of the object for limiting the scope of the replacement.
        Returns:
        the expression
      • regExpTipText

        public String regExpTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the gui
      • setNewNumThreads

        public void setNewNumThreads​(int value)
        Sets the new setting to use.
        Parameters:
        value - the new setting
      • getNewNumThreads

        public int getNewNumThreads()
        Returns the new setting to use.
        Returns:
        the new setting
      • newNumThreadsTipText

        public String newNumThreadsTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the gui
      • processActor

        protected void processActor​(Actor actor)
        Performs the actual processing.
        Specified by:
        processActor in class AbstractActorProcessor
        Parameters:
        actor - the actor to process (is a copy of original for processors implementing ModifyingProcessor)
        See Also:
        ModifyingProcessor