com.atlassian.jira.functest.framework.navigator
Class MultiSelectCondition
java.lang.Object
com.atlassian.jira.functest.framework.navigator.MultiSelectCondition
- All Implemented Interfaces:
- NavigatorCondition
- Direct Known Subclasses:
- ComponentCondition, IssueTypeCondition, PriorityCondition, ProjectCondition, ResolutionCondition, StatusCondition, VersionCondition
public abstract class MultiSelectCondition
- extends Object
- implements NavigatorCondition
Represents a navigator condition in a multi-select box.
- Since:
- v3.13
MultiSelectCondition
protected MultiSelectCondition(String elementName)
MultiSelectCondition
protected MultiSelectCondition(String elementName,
Collection<String> options)
MultiSelectCondition
protected MultiSelectCondition(MultiSelectCondition condition)
setOptions
public void setOptions(Collection<String> options)
addOption
public boolean addOption(String option)
removeOption
public boolean removeOption(String option)
clearOptions
public void clearOptions()
addOptions
public void addOptions(Collection<String> options)
removeOptions
public void removeOptions(Collection<String> options)
getOptions
public Set<String> getOptions()
getElementName
public String getElementName()
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.
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2002-2013 Atlassian. All Rights Reserved.