|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@NotThreadSafe public interface TimedCondition
Boolean condition with timeout.
Implementations of this interface are not supposed to be thread-safe.
Method Summary | |
---|---|
boolean |
by(long timeout)
Evaluate the condition by given timeout. |
boolean |
byDefaultTimeout()
Evaluate the condition by a timeout deemed default by the condition in the given test context. |
boolean |
now()
Evaluate the condition immediately. |
Methods inherited from interface com.atlassian.jira.webtest.framework.core.PollingQuery |
---|
defaultTimeout, interval |
Method Detail |
---|
boolean by(long timeout)
true
as soon as the
condition is true
, otherwise return false when the given timeout expires.
- Parameters:
timeout
- timeout in milliseconds (must be greater than 0)
- Returns:
true
, if the underlying condition evaluates to true
before the timeout
expires
boolean byDefaultTimeout()
true
, if the underlying condition evaluates to true
before the default timeout
expiresboolean now()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |