com.ibm.rational.test.lt.kernel.services

Class RPTLoopEvent

  • All Implemented Interfaces:
    Serializable, Cloneable
    Direct Known Subclasses:
    RPTBreakLoopEvent, RPTContinueLoopEvent


    public abstract class RPTLoopEvent
    extends RPTEvent
    This class is the base class for the group of RPTEvents that are thrown to cause an immediate break or continue in an loop in the behavior model. This class extends RPTEvent and changes the default value of severity to MessageEvent.INFO and changes the default to not show the stack trace.
    See Also:
    Serialized Form
    • Constructor Detail

      • RPTLoopEvent

        public RPTLoopEvent()
      • RPTLoopEvent

        public RPTLoopEvent(String message)
      • RPTLoopEvent

        public RPTLoopEvent(Throwable cause)
      • RPTLoopEvent

        public RPTLoopEvent(String message,
                    String loopName)
    • Method Detail

      • setTargetLoop

        public void setTargetLoop(com.ibm.rational.test.lt.kernel.action.ILoop target)
        Sets the loop which is to catch this event and perform either the break or continue. The default is to affect the nearest enclosing loop.
        Parameters:
        target - The loop to break or continue.
      • getTargetLoop

        public com.ibm.rational.test.lt.kernel.action.ILoop getTargetLoop()
      • getLoopName

        public String getLoopName()
IBM Rational Performance Tester TES

© Copyright IBM Corp. 2013. All rights reserved.