@ThreadSafe public final class

SimpleFieldSearchConstantsWithEmpty

extends Object
implements ClauseInformation
java.lang.Object
   ↳ com.atlassian.jira.issue.search.constants.SimpleFieldSearchConstantsWithEmpty

Class Overview

Holds searching constants for simple system fields.

Summary

Public Constructors
SimpleFieldSearchConstantsWithEmpty(String field, Set<Operator> supportedOperators, JiraDataType supportedType)
SimpleFieldSearchConstantsWithEmpty(String indexField, ClauseNames names, String urlParameter, String searcherId, String emptySelectFlag, String emptyIndexValue, String fieldId, Set<Operator> supportedOperators, JiraDataType supportedType)
SimpleFieldSearchConstantsWithEmpty(String indexField, String jqlClauseName, String urlParameter, String searcherId, String emptySelectFlag, String emptyIndexValue, String fieldId, Set<Operator> supportedOperators, JiraDataType supportedType)
Public Methods
boolean equals(Object o)
JiraDataType getDataType()
Provides the JiraDataType that this clause handles and searches on.
String getEmptyIndexValue()
String getEmptySelectFlag()
String getFieldId()
String getIndexField()
ClauseNames getJqlClauseNames()
String getSearcherId()
Set<Operator> getSupportedOperators()
Provides a set of the supported Operator's that this custom field searcher can handle for its searching.
String getUrlParameter()
int hashCode()
String toString()
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.jql.ClauseInformation

Public Constructors

public SimpleFieldSearchConstantsWithEmpty (String field, Set<Operator> supportedOperators, JiraDataType supportedType)

public SimpleFieldSearchConstantsWithEmpty (String indexField, ClauseNames names, String urlParameter, String searcherId, String emptySelectFlag, String emptyIndexValue, String fieldId, Set<Operator> supportedOperators, JiraDataType supportedType)

public SimpleFieldSearchConstantsWithEmpty (String indexField, String jqlClauseName, String urlParameter, String searcherId, String emptySelectFlag, String emptyIndexValue, String fieldId, Set<Operator> supportedOperators, JiraDataType supportedType)

Public Methods

public boolean equals (Object o)

public JiraDataType getDataType ()

Provides the JiraDataType that this clause handles and searches on. This allows us to infer some information about how the search will behave and how it will interact with other elements in the system.

For example, if this returns DATE then we know that we could provide users with a date picker for an input field, and we know that this clause should only be used by functions that also specify dates.

Returns
  • the JiraDataType that this clause can handle.

public String getEmptyIndexValue ()

public String getEmptySelectFlag ()

public String getFieldId ()

public String getIndexField ()

public ClauseNames getJqlClauseNames ()

public String getSearcherId ()

public Set<Operator> getSupportedOperators ()

Provides a set of the supported Operator's that this custom field searcher can handle for its searching.

Returns
  • a set of supported operators.

public String getUrlParameter ()

public int hashCode ()

public String toString ()