|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.jira.webtest.framework.core.context.AbstractWebTestContextAware
com.atlassian.jira.webtest.framework.gadget.GadgetTimedQuery<T>
public class GadgetTimedQuery<T>
TimedQuery
switching focus into gadget frame for
the time of invocation.
Field Summary |
---|
Fields inherited from class com.atlassian.jira.webtest.framework.core.context.AbstractWebTestContextAware |
---|
context |
Constructor Summary | |
---|---|
GadgetTimedQuery(WebTestContext context,
TimedQuery<T> query,
Gadget gadget)
|
Method Summary | |
---|---|
T |
by(long timeoutInMillis)
Evaluate this query by given timeout. |
T |
by(long timeout,
TimeUnit unit)
Evaluate this query by given timeout. |
T |
byDefaultTimeout()
Evaluate this query by a timeout deemed default in the given test context. |
long |
defaultTimeout()
Default timeout of this query in the current test context. |
long |
interval()
An interval (in milliseconds) that will be used to periodically evaluate the query. |
T |
now()
Evaluate this query immediately. |
String |
toString()
|
Methods inherited from class com.atlassian.jira.webtest.framework.core.context.AbstractWebTestContextAware |
---|
context |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GadgetTimedQuery(WebTestContext context, TimedQuery<T> query, Gadget gadget)
Method Detail |
---|
public T by(long timeoutInMillis)
TimedQuery
null
, or throw exception
by
in interface TimedQuery<T>
timeoutInMillis
- timeout in milliseconds (must be greater than 0)
public T by(long timeout, TimeUnit unit)
TimedQuery
null
, or throw exception
by
in interface TimedQuery<T>
timeout
- timeout (must be greater than 0)unit
- the unit that the timeout is in
public T byDefaultTimeout()
TimedQuery
byDefaultTimeout
in interface TimedQuery<T>
PollingQuery.defaultTimeout()
public T now()
TimedQuery
now
in interface TimedQuery<T>
public long interval()
PollingQuery
interval
in interface PollingQuery
public long defaultTimeout()
PollingQuery
defaultTimeout
in interface PollingQuery
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |