public interface IIf extends IKAction
IF statements employ three basic concepts:
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.
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 |
setCondition(ICondition condition) |
void |
setElse(IContainer container) |
void |
setThen(IContainer container) |
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, 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 setThen(IContainer container)
void setElse(IContainer container)
void setCondition(ICondition condition)
© Copyright IBM Corp. 2013. All rights reserved.