com.atlassian.jira.functest.framework.navigator
Class UserGroupPicker

java.lang.Object
  extended by 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

Constructor Summary
UserGroupPicker(String elementName)
           
UserGroupPicker(String elementName, String value)
           
 
Method Summary
 void assertSettings(org.jsoup.nodes.Document document)
          Assert that the condition is corrected configured for the passed tester.
 NavigatorCondition copyCondition()
           
 NavigatorCondition copyConditionForParse()
           
 void parseCondition(net.sourceforge.jwebunit.WebTester tester)
          Get the condition as configured on the web page.
 UserGroupPicker setAnyUser()
           
 UserGroupPicker setCurrentUser()
           
 UserGroupPicker setEmpty()
           
 UserGroupPicker setGroup(String group)
           
 UserGroupPicker setUser(String user)
           
 UserGroupPicker setValue(String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserGroupPicker

public UserGroupPicker(String elementName)

UserGroupPicker

public UserGroupPicker(String elementName,
                       String value)
Method Detail

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-2014 Atlassian. All Rights Reserved.