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

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

Constructor Summary
QuerySearchCondition()
           
QuerySearchCondition(QuerySearchCondition condition)
           
QuerySearchCondition(String queryString)
           
 
Method Summary
 void assertSettings(org.jsoup.nodes.Document document)
          Assert that the condition is corrected configured for the passed tester.
 NavigatorCondition copyCondition()
           
 NavigatorCondition copyConditionForParse()
           
 boolean equals(Object o)
           
 int hashCode()
           
 void parseCondition(net.sourceforge.jwebunit.WebTester tester)
          Get the condition as configured on the web page.
 void setQueryString(String queryString)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

QuerySearchCondition

public QuerySearchCondition()

QuerySearchCondition

public QuerySearchCondition(String queryString)

QuerySearchCondition

public QuerySearchCondition(QuerySearchCondition condition)
Method Detail

setQueryString

public void setQueryString(String queryString)

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.

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