IBM Rational Performance Tester SDK

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

All Superinterfaces:
IContainer, ICountable, IKAction, IKLog, IKSemaphore, ILoop, ITestExecutionServices, IWhile, Runnable
All Known Subinterfaces:
IPacedLoop

public interface IFor
extends IWhile

A 'for' loop.

There are four basic elements to a 'for' loop:

Think of these in the following way:

for ( initialization ; continuation ; increment ) { body; }

Initalization performs some arbitrary action as setup for the loop.

Continuation defines the condition under which the loop should continue.

Increment performs some arbitrary action that will result in an incremental change to the execution of the loop.

Body denotes a special container that holds all the actions that need to be performed as part of the loop.

Notes:

See Also:
IKAction, ICondition, ILoop

Field Summary
 
Fields inherited from interface com.ibm.rational.test.lt.kernel.action.IKAction
ABANDONED, DP_ENCRYPTED_VALUES_KEY, EXECUTING, FINISHED, HANDLETIMER, SEMWAIT, SLEEPING, Status, UNSTARTED
 
Fields inherited from interface com.ibm.rational.test.lt.kernel.logging.IKLog
HISTORY_ALL, HISTORY_NONE, HISTORY_PAGES, HISTORY_REQUESTS, HISTORY_SCHEDULE, LOG_ALL, LOG_CONFIG, LOG_FINE, LOG_FINER, LOG_FINEST, LOG_INFO, LOG_NONE, LOG_SEVERE, LOG_WARNING, STATISTIC_ALL, STATISTIC_NONE, STATISTIC_PAGES
 
Fields inherited from interface com.ibm.rational.test.lt.kernel.services.ITestExecutionServices
STORAGE_LOCAL, STORAGE_USER
 
Method Summary
 void setIncrement(IKAction action)
          Specify an action to perform when incrementing the loop.
 void setInitialization(IKAction action)
          Specify an action to perform at initialization
 
Methods inherited from interface com.ibm.rational.test.lt.kernel.action.IWhile
getCondition, setCondition
 
Methods inherited from interface com.ibm.rational.test.lt.kernel.action.ILoop
breakLoop, continueLoop, getLoopIteration, getTimeStarted, isLoopBroken, isLoopContinued, resetBreak, resetContinue
 
Methods inherited from interface com.ibm.rational.test.lt.kernel.action.IContainer
add, addCatch, addFinally, addInitially, current, finish, get, getActions, getActionsArray, getChildCount, getParentHistoryId, getStartEvent, getStartHistoryId, getStopEvent, getUserGroup, getVirtualUser, isAllowChildrenToPageTestLog, next, nextHistoryId, previous, recordChildExecutionTime, registerChildVerdict, registerChildVerdict, registerChildVerdict, registerChildVerdict, remove, rollUpVerdicts, setAllowChildrenToPageTestLog, setStartHistoryId, stopChildren, verifyParentRelationships
 
Methods inherited from interface com.ibm.rational.test.lt.kernel.action.IKAction
abandon, addEventBehavior, blocked, execute, executeAction, executionTime, findDataArea, finish, getBlockedTimeout, getHistory, getHistoryType, getId, getName, getParent, getResultInteger, getResultObject, getResultString, getRtbEnabled, getStatTree, getStopRequested, getSubsystem, getTimeoutDuration, getTimeoutScheme, getVirtualUserName, getWorkerThread, hasFinished, hasStarted, isRunning, reset, setBlockedTimeout, setDispatchingAction, setHistory, setHistoryType, setId, setResultInteger, setResultObject, setResultString, setResultString, setRtbEnabled, setStatTree, start, status, stop, stop, stopAction
 
Methods inherited from interface com.ibm.rational.test.lt.kernel.ICountable
addCounter, getCounter, getCounters, resetCounters
 
Methods inherited from interface com.ibm.rational.test.lt.kernel.logging.IKLog
getHistoryLevel, getHistoryLevel, getLogLevel, getStatisticsLevel, getVirtualUserGUID, log, log, log, log, reportEvent, reportEvent, reportEvent, reportMessage, reportMessage, reportMessage, reportVerdict, reportVerdict, reportVerdict, reportVerdict, reportVerificationPoint, reportVerificationPoint, reportVerificationPoint, reportVerificationPoint, reportVerificationPoint, reportVerificationPoint, wouldARM, wouldLog, wouldReportHistory, wouldReportHistory, wouldReportStatistics
 
Methods inherited from interface com.ibm.rational.test.lt.kernel.action.IKSemaphore
acquire, availablePermits, getQueue, getQueueLength, reducePermits, release, release, toString, tryAcquire, tryAcquire
 
Methods inherited from interface com.ibm.rational.test.lt.kernel.services.ITestExecutionServices
getARM, getLoopControl, getPDLogManager, getStatisticsManager, getTestLogManager, getTime, getTransaction, getValue, setValue
 
Methods inherited from interface java.lang.Runnable
run
 

Method Detail

setInitialization

void setInitialization(IKAction action)
Specify an action to perform at initialization

Parameters:
action - the action

setIncrement

void setIncrement(IKAction action)
Specify an action to perform when incrementing the loop.

Parameters:
action - the action

IBM Rational Performance Tester SDK

© Copyright IBM Corp. 2012. All rights reserved.