Class TrustedKeysPage
- java.lang.Object
-
- com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
-
- com.atlassian.bamboo.pageobjects.pages.admin.AbstractBambooAdminPage
-
- com.atlassian.bamboo.pageobjects.pages.admin.TrustedKeysPage
-
- All Implemented Interfaces:
com.atlassian.pageobjects.Page
public class TrustedKeysPage extends AbstractBambooAdminPage
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TrustedKeysPage.AddTrustedKeyDialogPage
static class
TrustedKeysPage.DeleteTrustedKeyConfirmationDialog
static class
TrustedKeysPage.TrustedKeyImpl
-
Field Summary
-
Fields inherited from class com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
driver, elementFinder, poller, testedProduct, timeouts
-
-
Constructor Summary
Constructors Constructor Description TrustedKeysPage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TrustedKeysPage.AddTrustedKeyDialogPage
addTrustedKey(String host, String key)
TrustedKeysPage.DeleteTrustedKeyConfirmationDialog
delete(long id)
Optional<TrustedKey>
findTrustedKeys(String host, String key)
List<TrustedKey>
getTrustedKeys()
String
getUrl()
com.atlassian.pageobjects.elements.PageElement
indicator()
This must return an element whose presence indicates that we're on given page.-
Methods inherited from class com.atlassian.bamboo.pageobjects.pages.admin.AbstractBambooAdminPage
getStateBanner
-
Methods inherited from class com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
click, doWait, ensureIndicatorPresent, getFooter, getHeader, getTimeouts, isAdmin, isLoggedIn, isPageLoaded, sendEscapeKey, waitUntilElementIsLocated, waitUntilElementIsNotLocated, waitUntilElementIsNotVisible, waitUntilElementIsVisible
-
-
-
-
Method Detail
-
indicator
public com.atlassian.pageobjects.elements.PageElement indicator()
Description copied from class:AbstractBambooPage
This must return an element whose presence indicates that we're on given page.- Specified by:
indicator
in classAbstractBambooPage
- Returns:
- element uniquely identifying given page
-
getUrl
public String getUrl()
-
addTrustedKey
public TrustedKeysPage.AddTrustedKeyDialogPage addTrustedKey(String host, String key)
-
getTrustedKeys
public List<TrustedKey> getTrustedKeys()
-
delete
public TrustedKeysPage.DeleteTrustedKeyConfirmationDialog delete(long id)
-
findTrustedKeys
public Optional<TrustedKey> findTrustedKeys(String host, String key)
-
-