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

Interface IIf

  • All Superinterfaces:
    ICountable, IKAction, IKLog, IKSemaphore, ITestExecutionServices, Runnable


    public interface IIf
    extends IKAction
    An 'if' block.

    IF statements employ three basic concepts:

    • a condition
    • a then clause - a block to execute when the condition is true
    • an else clause - a block to execute when the condition is false

    Using the if statement is straight-forward. Create a conditional to evaluate. Create the block of actions to execute when the conditional is positive. Create the negative block of actions. Add the three items to the if action.

    If the condition needs access to another action in order to evaluate, access other actions in the standard ways. Note that, by definition, the parent container of the condition is the container in which the IF resides.

IBM Rational Performance Tester SDK

© Copyright IBM Corp. 2013. All rights reserved.