com.ibm.rational.test.lt.kernel.action

Interface ILoop

    • Method Detail

      • breakLoop

        void breakLoop()
        Break out of the loop.

        This method is used to indicate the need to break from the loop and continue with the next action outside of the loop construct. It does not evaluate the loop again.

      • continueLoop

        void continueLoop()
        Jump to the end of the loop.

        This method is used to indicate the need to jump to the end of the loop, reevaluate the loop condition and decide whether or not to reexecute the loop.

      • resetBreak

        void resetBreak()
        Reset the break.
      • resetContinue

        void resetContinue()
        Reset the continuation.
      • isLoopBroken

        boolean isLoopBroken()
        Has the loop been interrupted with a 'break'?
        Returns:
        true If the loop is to be broken
      • isLoopContinued

        boolean isLoopContinued()
        Has the loop been interrupted with a 'continue'?
        Returns:
        true If the loop is to be continued
      • getLoopIteration

        int getLoopIteration()
        Which iteration is this?
        Returns:
        the number of times the body has been started.
      • getTimeStarted

        long getTimeStarted()
        When did this loop start?
        Returns:
        the time (from Time.currentTimeMillis()) that the loop started
IBM Rational Performance Tester SDK

© Copyright IBM Corp. 2013. All rights reserved.