com.atlassian.jira.pageobjects.components.userpicker
Class LegacyPicker
java.lang.Object
com.atlassian.jira.pageobjects.components.userpicker.LegacyPicker
- All Implemented Interfaces:
- CustomField
- Direct Known Subclasses:
- LegacyUserPicker
public class LegacyPicker
- extends Object
- implements CustomField
The old user/group picker that shows up as a popup window. Should go away but it won't any time soon...
- Since:
- v5.0
Field Summary |
protected com.atlassian.pageobjects.elements.PageElement |
container
|
protected com.atlassian.pageobjects.elements.PageElementFinder |
elementFinder
|
protected ExtendedElementFinder |
extendedFinder
|
protected com.atlassian.pageobjects.elements.PageElement |
field
|
protected com.atlassian.pageobjects.elements.PageElement |
form
|
protected com.atlassian.pageobjects.PageBinder |
pageBinder
|
protected String |
pickerId
|
protected com.atlassian.pageobjects.elements.timeout.Timeouts |
timeouts
|
protected com.atlassian.pageobjects.elements.PageElement |
trigger
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
pageBinder
@Inject
protected com.atlassian.pageobjects.PageBinder pageBinder
elementFinder
@Inject
protected com.atlassian.pageobjects.elements.PageElementFinder elementFinder
timeouts
@Inject
protected com.atlassian.pageobjects.elements.timeout.Timeouts timeouts
extendedFinder
@Inject
protected ExtendedElementFinder extendedFinder
pickerId
protected final String pickerId
form
protected final com.atlassian.pageobjects.elements.PageElement form
container
protected com.atlassian.pageobjects.elements.PageElement container
field
protected com.atlassian.pageobjects.elements.PageElement field
trigger
protected com.atlassian.pageobjects.elements.PageElement trigger
LegacyPicker
public LegacyPicker(@Nullable
com.atlassian.pageobjects.elements.PageElement form,
String pickerId)
LegacyPicker
public LegacyPicker(String pickerId)
container
protected com.atlassian.pageobjects.elements.PageElement container()
field
protected com.atlassian.pageobjects.elements.PageElement field()
getValue
public com.atlassian.pageobjects.elements.query.TimedQuery<String> getValue()
- The selected value in the picker.
- Returns:
- value in the picker
getTrigger
public com.atlassian.pageobjects.elements.PageElement getTrigger()
getSuggestions
public com.atlassian.pageobjects.elements.query.TimedQuery<Iterable<Suggestion>> getSuggestions()
hasActiveSuggestion
public com.atlassian.pageobjects.elements.query.TimedCondition hasActiveSuggestion()
getActiveSuggestion
public Suggestion getActiveSuggestion()
isSuggestionsPresent
public com.atlassian.pageobjects.elements.query.TimedCondition isSuggestionsPresent()
hasSuggestionWithId
public com.atlassian.pageobjects.elements.query.TimedCondition hasSuggestionWithId(String substring)
getSuggestionWithId
public Suggestion getSuggestionWithId(String substring)
query
public LegacyPicker query(String query)
clearQuery
public LegacyPicker clearQuery()
acceptUsingMouse
public LegacyPicker acceptUsingMouse(MultiSelectSuggestion suggestion)
acceptActiveSuggestion
public LegacyPicker acceptActiveSuggestion()
down
public LegacyPicker down(int steps)
up
public LegacyPicker up(int steps)
Copyright © 2002-2013 Atlassian. All Rights Reserved.