Class AbstractForLoop

    • Field Detail

      • m_LoopLower

        protected int m_LoopLower
        the lower bound of the for loop.
      • m_LoopUpper

        protected int m_LoopUpper
        the upper bound of the for loop.
      • m_LoopStep

        protected int m_LoopStep
        the step size.
      • m_Current

        protected int m_Current
        the current value.
    • Constructor Detail

      • AbstractForLoop

        public AbstractForLoop()
    • Method Detail

      • setLoopLower

        public void setLoopLower​(int value)
        Sets the lower bound of the loop.
        Parameters:
        value - the lower bound
      • getLoopLower

        public int getLoopLower()
        Returns the lower bound of the loop.
        Returns:
        the lower bound
      • loopLowerTipText

        public String loopLowerTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setLoopUpper

        public void setLoopUpper​(int value)
        Sets the upper bound of the loop.
        Parameters:
        value - the upper bound
      • getLoopUpper

        public int getLoopUpper()
        Returns the upper bound of the loop.
        Returns:
        the upper bound
      • loopUpperTipText

        public String loopUpperTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setLoopStep

        public void setLoopStep​(int value)
        Sets the step size.
        Parameters:
        value - the step size
      • getLoopStep

        public int getLoopStep()
        Returns the step size.
        Returns:
        the step size
      • loopStepTipText

        public String loopStepTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • generates

        public abstract Class[] generates()
        Returns the class of objects that it generates.
        Returns:
        java.lang.Integer.class
      • doExecute

        protected String doExecute()
        Executes the flow item.
        Specified by:
        doExecute in class AbstractActor
        Returns:
        null if everything is fine, otherwise error message
      • output

        public abstract Token output()
        Returns the generated token.
        Returns:
        the generated token
      • hasPendingOutput

        public boolean hasPendingOutput()
        Checks whether there is pending output to be collected after executing the flow item.
        Returns:
        true if there is pending output