Class RequirementsAwarePage
java.lang.Object
com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
com.atlassian.bamboo.pageobjects.helpers.RequirementsAwarePage
- All Implemented Interfaces:
com.atlassian.pageobjects.Page
- Direct Known Subclasses:
ConfigureEnvironmentAgentAssignmentsPage
,JobRequirementsConfigurationPage
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
protected com.atlassian.pageobjects.elements.timeout.Timeouts
Fields inherited from class com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
driver, elementFinder, pageBinder, poller, testedProduct
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddExistingRequirement
(String requirementName, String matchType, boolean waitForAdding) void
assignExecutor
(String executorName, boolean waitForAdding) boolean
boolean
@Nullable RequirementsAwarePage.Requirement
getRequirement
(String requirementName) boolean
void
removeAgentAssignment
(String agentName) removeRequirement
(String requirementKey) viewRequirementDetails
(String requirementKey) Methods inherited from class com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
click, doWait, ensureIndicatorPresent, getFooter, getHeader, getTimeouts, indicator, isAdmin, isLoggedIn, isPageLoaded, sendEscapeKey, waitUntilElementIsLocated, waitUntilElementIsNotLocated, waitUntilElementIsNotVisible, waitUntilElementIsVisible
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.pageobjects.Page
getUrl
-
Field Details
-
EXISTS_MATCH_TYPE
- See Also:
-
timeouts
@Inject protected com.atlassian.pageobjects.elements.timeout.Timeouts timeouts
-
-
Constructor Details
-
RequirementsAwarePage
public RequirementsAwarePage()
-
-
Method Details
-
addExistingRequirement
public RequirementsAwarePage addExistingRequirement(String requirementName, String matchType, boolean waitForAdding) -
viewRequirementDetails
-
getRequirements
-
removeRequirement
-
getRequirement
-
canEditRequirements
public boolean canEditRequirements() -
openAgentsSection
public void openAgentsSection() -
canEditAgentAssignments
public boolean canEditAgentAssignments() -
getExecutors
-
assignExecutor
-
removeAgentAssignment
public ConfigureEnvironmentAgentAssignmentsPage.ConfirmDeleteAgentDialog removeAgentAssignment(String agentName) -
getAgentAvailabilitySummaries
-
noAgentsCanBuildThisJob
public boolean noAgentsCanBuildThisJob()
-