com.atlassian.jira.functest.framework.navigator
Class UserGroupPicker
java.lang.Object
com.atlassian.jira.functest.framework.navigator.UserGroupPicker
- All Implemented Interfaces:
- NavigatorCondition
- Direct Known Subclasses:
- AssigneeCondition, ReporterCondition
public class UserGroupPicker
- extends Object
- implements NavigatorCondition
A parameter that can be used work with User/Group selector navigator components.
- Since:
- v4.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserGroupPicker
public UserGroupPicker(String elementName)
UserGroupPicker
public UserGroupPicker(String elementName,
String value)
setCurrentUser
public UserGroupPicker setCurrentUser()
setAnyUser
public UserGroupPicker setAnyUser()
setUser
public UserGroupPicker setUser(String user)
setGroup
public UserGroupPicker setGroup(String group)
setEmpty
public UserGroupPicker setEmpty()
setValue
public UserGroupPicker setValue(String value)
parseCondition
public void parseCondition(net.sourceforge.jwebunit.WebTester tester)
- Description copied from interface:
NavigatorCondition
- Get the condition as configured on the web page. The tester will be on the Navigator page when called.
- Specified by:
parseCondition
in interface NavigatorCondition
- Parameters:
tester
- the tester pointed at the Navigator page.
assertSettings
public void assertSettings(org.jsoup.nodes.Document document)
- Description copied from interface:
NavigatorCondition
- Assert that the condition is corrected configured for the passed tester. The tester must be on the Navigator
page when called.
- Specified by:
assertSettings
in interface NavigatorCondition
- Parameters:
document
- the tester pointed at the Navigator page.
copyCondition
public NavigatorCondition copyCondition()
- Specified by:
copyCondition
in interface NavigatorCondition
- Returns:
- a copy of the condition.
copyConditionForParse
public NavigatorCondition copyConditionForParse()
- Specified by:
copyConditionForParse
in interface NavigatorCondition
- Returns:
- a clean copy of the condition.
Copyright © 2002-2013 Atlassian. All Rights Reserved.