public interface ILoop extends IContainer
This container contains support for looping commands. In particular,
it contains support for break and continue within
a container.
ABANDONED, DP_ENCRYPTED_VALUES_KEY, EXECUTING, FINISHED, HANDLETIMER, SEMWAIT, SLEEPING, Status, UNSTARTEDHISTORY_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_PAGESSTORAGE_ENV, STORAGE_LOCAL, STORAGE_SYSTEM, STORAGE_USER| Modifier and Type | Method and Description |
|---|---|
void |
breakLoop()
Break out of the loop.
|
void |
continueLoop()
Jump to the end of the loop.
|
int |
getLoopIteration()
Which iteration is this?
|
long |
getTimeStarted()
When did this loop start?
|
boolean |
isLoopBroken()
Has the loop been interrupted with a 'break'?
|
boolean |
isLoopContinued()
Has the loop been interrupted with a 'continue'?
|
void |
resetBreak()
Reset the break.
|
void |
resetContinue()
Reset the continuation.
|
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, verifyParentRelationshipsabandon, 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, stopActionaddCounter, getCounter, getCounters, resetCountersgetHistoryLevel, 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, wouldReportStatisticsacquire, availablePermits, getQueue, getQueueLength, reducePermits, release, release, toString, tryAcquire, tryAcquiregetARM, getLoopControl, getPDLogManager, getStatisticsManager, getTestLogManager, getTime, getTransaction, getValue, setValuevoid breakLoop()
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.
void continueLoop()
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.
void resetBreak()
void resetContinue()
boolean isLoopBroken()
boolean isLoopContinued()
int getLoopIteration()
long getTimeStarted()
© Copyright IBM Corp. 2013. All rights reserved.