public interface IFor extends IWhile
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:
IKAction
,
ICondition
,
ILoop
ABANDONED, DP_ENCRYPTED_VALUES_KEY, EXECUTING, FINISHED, HANDLETIMER, SEMWAIT, SLEEPING, Status, UNSTARTED
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
STORAGE_ENV, STORAGE_LOCAL, STORAGE_SYSTEM, STORAGE_USER
Modifier and Type | Method and Description |
---|---|
void |
setIncrement(IKAction action)
Specify an action to perform when incrementing the loop.
|
void |
setInitialization(IKAction action)
Specify an action to perform at initialization
|
getCondition, setCondition
breakLoop, continueLoop, getLoopIteration, getTimeStarted, isLoopBroken, isLoopContinued, resetBreak, resetContinue
add, addCatch, addFinally, addInitially, current, finish, get, getActions, getActionsArray, getChildCount, getCompoundTest, getKScript, getParentHistoryId, getStartEvent, getStartHistoryId, getStopEvent, getThinkScheme, getUserGroup, getVirtualUser, isAllowChildrenToPageTestLog, loadTest, next, nextHistoryId, previous, recordChildExecutionTime, registerChildVerdict, registerChildVerdict, registerChildVerdict, registerChildVerdict, remove, rollUpVerdicts, setAllowChildrenToPageTestLog, setStartHistoryId, stopChildren, verifyParentRelationships
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
addCounter, getCounter, getCounters, resetCounters
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
acquire, availablePermits, getQueue, getQueueLength, reducePermits, release, release, toString, tryAcquire, tryAcquire
getARM, getLoopControl, getPDLogManager, getStatisticsManager, getTestLogManager, getTime, getTransaction, getValue, setValue
© Copyright IBM Corp. 2013. All rights reserved.