java.lang.Object | |
↳ | com.atlassian.jira.pageobjects.util.TraceContext |
Provides utility methods for waiting for ajax results. To send events from the javascript side, call JIRA.trace(key, args...). To turn on logging:
org.apache.log4j.Logger.getLogger(TraceContext.class).setLevel(org.apache.log4j.Level.DEBUG);
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns a tracer containing the current state of trace list.
| |||||||||||
Waits for the occurrence of a trace with the given key after the given tracer.
| |||||||||||
Waits for the occurrence of a trace with the given key and optionally arguments after the given tracer.
| |||||||||||
Return a
TimedCondition that waits for the occurrence of a trace at some point after the page load. | |||||||||||
Check whether trace record of given key exists, also test argument if argumentPattern is provided
| |||||||||||
Waits for the occurrence of a trace with the given key after the given tracer.
| |||||||||||
Waits for the occurrence of a trace with the given key and optionally test argument against given argumentPattern
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object |
Waits for the occurrence of a trace with the given key after the given tracer.
tracer | checkpoint. Only traces after this checkpoint will be inspected. |
---|---|
key | tracer key to watch for |
Waits for the occurrence of a trace with the given key and optionally arguments after the given tracer.
tracer | checkpoint. Only traces after this checkpoint will be inspected. |
---|---|
key | tracer key to watch for |
argumentPattern | check consecutive arguments of JIRA.trace call(after key argument) |
Return a TimedCondition
that waits for the occurrence of a trace at some point after the page load.
key | the key to check for. |
---|
TimedCondition
that waits for the occurrence of a trace at some point after the page load.
Check whether trace record of given key exists, also test argument if argumentPattern is provided
tracer | checkpoint. Only traces after this checkpoint will be inspected. |
---|---|
key | tracer key to watch for |
argumentPattern | test argument of JIRA.trace call(after key argument) |
Waits for the occurrence of a trace with the given key after the given tracer.
tracer | checkpoint. Only traces after this checkpoint will be inspected. |
---|---|
key | tracer key to watch for |
Waits for the occurrence of a trace with the given key and optionally test argument against given argumentPattern
tracer | checkpoint. Only traces after this checkpoint will be inspected. |
---|---|
key | tracer key to watch for |
argumentPattern | test argument of JIRA.trace call(after key argument) |