|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AddGadgetDialog
The 'Add gadget dialog' on the JIRA dashboard.
Nested Class Summary | |
---|---|
static interface |
AddGadgetDialog.CloseMode
|
Method Summary | ||
---|---|---|
|
addGadget(Class<T> gadgetType)
Add gadget of given type to the dashboard. |
|
|
addGadget(Class<T> gadgetType,
String sourceUrl)
Add gadget of given type and sourceUrl to the dashboard. |
|
TimedCondition |
canAddGadget(Class<? extends Gadget> gadgetType)
Check if given gadget type can be added. |
|
TimedCondition |
canAddGadget(Class<? extends Gadget> gadgetType,
String sourceUrl)
Check if given gadget type can be added. |
|
AddGadgetDialog.CloseMode |
close()
Close the dialog. |
Methods inherited from interface com.atlassian.jira.webtest.framework.dialog.PageDialog |
---|
page |
Methods inherited from interface com.atlassian.jira.webtest.framework.core.Openable |
---|
isClosed, isOpen, isOpenable, open |
Methods inherited from interface com.atlassian.jira.webtest.framework.core.Localizable |
---|
locator |
Methods inherited from interface com.atlassian.jira.webtest.framework.core.PageObject |
---|
context, isReady |
Method Detail |
---|
<T extends Gadget> AddGadgetDialog addGadget(Class<T> gadgetType)
Add gadget of given type to the dashboard. This will also close the dialog.
NOTE: there may be more then one gadgets of given type to add. Use addGadget(Class, String)
to add a
gadget from particular source.
T
- type parametergadgetType
- class of gadget to add
<T extends Gadget> AddGadgetDialog addGadget(Class<T> gadgetType, String sourceUrl)
Add gadget of given type and sourceUrl to the dashboard. This will also close the dialog.
T
- type parametergadgetType
- class of gadget to addsourceUrl
- URL of the gadget spec source
TimedCondition canAddGadget(Class<? extends Gadget> gadgetType)
gadgetType
- type of the gadget to add.
TimedCondition canAddGadget(Class<? extends Gadget> gadgetType, String sourceUrl)
Check if given gadget type can be added. This means that the dialog is open and the 'Add gadget' button is available (i.e. not already waiting for adding a gadget).
Use this method if there are more than one gadgets of given type, coming from different applications.
gadgetType
- type of the gadget to add.sourceUrl
- URL of the gadget source
AddGadgetDialog.CloseMode close()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |