com.atlassian.jira.webtest.framework.dialog
Enum IssuePickerPopup.SearchMode

java.lang.Object
  extended by java.lang.Enum<IssuePickerPopup.SearchMode>
      extended by com.atlassian.jira.webtest.framework.dialog.IssuePickerPopup.SearchMode
All Implemented Interfaces:
Serializable, Comparable<IssuePickerPopup.SearchMode>
Enclosing interface:
IssuePickerPopup

public static enum IssuePickerPopup.SearchMode
extends Enum<IssuePickerPopup.SearchMode>

Mode of the current issue search.


Enum Constant Summary
FILTER
          'Filter' mode to search within a selected issue filter.
RECENT_ISSUES
          'Recent issues' mode containing two sections: recent issues and current issues.
 
Method Summary
static IssuePickerPopup.SearchMode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static IssuePickerPopup.SearchMode[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

RECENT_ISSUES

public static final IssuePickerPopup.SearchMode RECENT_ISSUES
'Recent issues' mode containing two sections: recent issues and current issues.

See Also:
IssuePickerPopup.ResultSection.RECENT_ISSUES, IssuePickerPopup.ResultSection.CURRENT_ISSUES

FILTER

public static final IssuePickerPopup.SearchMode FILTER
'Filter' mode to search within a selected issue filter. Contains only one 'Filter' section

See Also:
IssuePickerPopup.ResultSection.FILTER
Method Detail

values

public static IssuePickerPopup.SearchMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (IssuePickerPopup.SearchMode c : IssuePickerPopup.SearchMode.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static IssuePickerPopup.SearchMode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2002-2012 Atlassian. All Rights Reserved.