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
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringprotected com.atlassian.pageobjects.elements.timeout.TimeoutsFields inherited from class com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
driver, elementFinder, pageBinder, poller, testedProduct -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddExistingRequirement(String requirementName, String matchType, boolean waitForAdding) addExistingRequirement(String requirementName, String requirementValue, String matchType, boolean waitForAdding) voidassignExecutor(String executorName, boolean waitForAdding) booleanboolean@Nullable RequirementsAwarePage.RequirementgetRequirement(String requirementName) booleanvoidremoveAgentAssignment(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, waitUntilElementIsVisibleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.pageobjects.Page
getUrl
-
Field Details
-
EXISTS_MATCH_TYPE
- See Also:
-
MATCHES_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) -
addExistingRequirement
public RequirementsAwarePage addExistingRequirement(String requirementName, String requirementValue, 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()
-