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
OPTION_ANY_USER
public static final String OPTION_ANY_USER
- See Also:
- Constant Field Values
OPTION_SPECIFIC_USER
public static final String OPTION_SPECIFIC_USER
- See Also:
- Constant Field Values
OPTION_CURRENT_USER
public static final String OPTION_CURRENT_USER
- See Also:
- Constant Field Values
OPTION_SPECIFIC_GROUP
public static final String OPTION_SPECIFIC_GROUP
- See Also:
- Constant Field Values
UserGroupPicker
public UserGroupPicker(UserGroupPicker picker)
UserGroupPicker
public UserGroupPicker(String paramName)
setParamName
public UserGroupPicker setParamName(String paramName)
getParamName
public String getParamName()
getSelectParamName
public String getSelectParamName()
getPickerOption
public UserGroupPicker.PickerOption getPickerOption()
setPickerOption
public UserGroupPicker setPickerOption(UserGroupPicker.PickerOption pickerOption)
setAnyUser
public UserGroupPicker setAnyUser()
isAnyUser
public boolean isAnyUser()
setCurrentUser
public UserGroupPicker setCurrentUser()
isCurrentUser
public boolean isCurrentUser()
setUser
public UserGroupPicker setUser(String user)
getUser
public String getUser()
setGroup
public UserGroupPicker setGroup(String group)
getGroup
public String getGroup()
setForm
public void setForm(net.sourceforge.jwebunit.WebTester tester)
- Description copied from interface:
NavigatorCondition
- Set the Navigator options for this condition. The tester will be on the Navigator page when called.
- Specified by:
setForm
in interface NavigatorCondition
- Parameters:
tester
- the tester pointed at the Navigator page.
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(net.sourceforge.jwebunit.WebTester tester)
- 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:
tester
- 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.
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2002-2012 Atlassian. All Rights Reserved.