@ThreadSafe public final class SimpleFieldSearchConstants extends Object implements ClauseInformation
Constructor and Description |
---|
SimpleFieldSearchConstants(String indexField,
ClauseNames names,
String urlParameter,
String searcherId,
String fieldId,
Set<Operator> supportedOperators,
JiraDataType supportedType) |
SimpleFieldSearchConstants(String field,
Set<Operator> supportedOperators,
JiraDataType supportedType) |
SimpleFieldSearchConstants(String indexField,
String jqlClauseName,
String urlParameter,
String searcherId,
String fieldId,
Set<Operator> supportedOperators,
JiraDataType supportedType) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
JiraDataType |
getDataType()
Provides the
JiraDataType that this clause handles and searches on. |
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() |
public SimpleFieldSearchConstants(String field, Set<Operator> supportedOperators, JiraDataType supportedType)
public SimpleFieldSearchConstants(String indexField, ClauseNames names, String urlParameter, String searcherId, String fieldId, Set<Operator> supportedOperators, JiraDataType supportedType)
public String getIndexField()
getIndexField
in interface ClauseInformation
public ClauseNames getJqlClauseNames()
getJqlClauseNames
in interface ClauseInformation
public String getUrlParameter()
public String getSearcherId()
public String getFieldId()
getFieldId
in interface ClauseInformation
public Set<Operator> getSupportedOperators()
ClauseInformation
Operator
's that this custom field searcher
can handle for its searching.getSupportedOperators
in interface ClauseInformation
public JiraDataType getDataType()
ClauseInformation
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 JiraDataTypes.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.
getDataType
in interface ClauseInformation
JiraDataTypes
Copyright © 2002-2015 Atlassian. All Rights Reserved.