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

java.lang.Object
  extended by com.atlassian.jira.functest.framework.navigator.MultiSelectCondition
      extended by com.atlassian.jira.functest.framework.navigator.ProjectCondition
All Implemented Interfaces:
NavigatorCondition

public class ProjectCondition
extends MultiSelectCondition

Represents a selection of projects in a Navigator search.

Since:
v3.13

Constructor Summary
ProjectCondition()
           
ProjectCondition(ProjectCondition copy)
           
ProjectCondition(String elementName)
          Used to construct condition for project picker custom field
 
Method Summary
 ProjectCondition addProject(String project)
           
 NavigatorCondition copyCondition()
           
 NavigatorCondition copyConditionForParse()
           
 ProjectCondition removeProject(String project)
           
 String toString()
           
 
Methods inherited from class com.atlassian.jira.functest.framework.navigator.MultiSelectCondition
addOption, addOptions, assertSettings, clearOptions, equals, getElementName, getOptions, hashCode, parseCondition, removeOption, removeOptions, setForm, setOptions
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProjectCondition

public ProjectCondition()

ProjectCondition

public ProjectCondition(String elementName)
Used to construct condition for project picker custom field

Parameters:
elementName - the name of the field e.g. pid or customfield_10000

ProjectCondition

public ProjectCondition(ProjectCondition copy)
Method Detail

addProject

public ProjectCondition addProject(String project)

removeProject

public ProjectCondition removeProject(String project)

toString

public String toString()
Overrides:
toString in class MultiSelectCondition

copyCondition

public NavigatorCondition copyCondition()
Returns:
a copy of the condition.

copyConditionForParse

public NavigatorCondition copyConditionForParse()
Returns:
a clean copy of the condition.


Copyright © 2002-2013 Atlassian. All Rights Reserved.