com.atlassian.jira.functest.framework.navigator
Class QuerySearchCondition
java.lang.Object
com.atlassian.jira.functest.framework.navigator.QuerySearchCondition
- All Implemented Interfaces:
- NavigatorCondition
public class QuerySearchCondition
- extends Object
- implements NavigatorCondition
Represents the "Text Search" condition in Navigator.
- Since:
- v3.13
QuerySearchCondition
public QuerySearchCondition()
QuerySearchCondition
public QuerySearchCondition(String queryString)
QuerySearchCondition
public QuerySearchCondition(String queryString,
Collection<? extends QuerySearchCondition.QueryField> fields)
QuerySearchCondition
public QuerySearchCondition(QuerySearchCondition condition)
setQueryString
public void setQueryString(String queryString)
getQueryString
public String getQueryString()
setFields
public void setFields(Collection<? extends QuerySearchCondition.QueryField> fields)
addField
public boolean addField(QuerySearchCondition.QueryField field)
removeField
public boolean removeField(QuerySearchCondition.QueryField field)
clearFields
public void clearFields()
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
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2002-2012 Atlassian. All Rights Reserved.