Class AliasClauseInformation
java.lang.Object
com.atlassian.jira.index.property.AliasClauseInformation
- All Implemented Interfaces:
ClauseInformation
Objects of this class holds all information about the issue property which they alias.
-
Constructor Summary
ConstructorsConstructorDescriptionAliasClauseInformation(IndexDocumentConfiguration.Type type, String alias, String luceneFieldName, ClauseNames clauseNames, IssuePropertyJql issuePropertyJql, String pluginName, Property propertyAliasedFrom) -
Method Summary
Modifier and TypeMethodDescriptiongetAlias()Provides theJiraDataTypethat this clause handles and searches on.Provides a set of the supportedOperator's that this custom field searcher can handle for its searching.booleanboolean
-
Constructor Details
-
AliasClauseInformation
public AliasClauseInformation(IndexDocumentConfiguration.Type type, String alias, String luceneFieldName, ClauseNames clauseNames, IssuePropertyJql issuePropertyJql, String pluginName, Property propertyAliasedFrom)
-
-
Method Details
-
getJqlClauseNames
- Specified by:
getJqlClauseNamesin interfaceClauseInformation- Returns:
- the allowed JQL clause names.
-
getIndexField
- Specified by:
getIndexFieldin interfaceClauseInformation- Returns:
- the string that represents the field id in the lucene index; may be null if the clause does not search directly on the index e.g. "saved filter" or "all text" clause.
-
getFieldId
- Specified by:
getFieldIdin interfaceClauseInformation- Returns:
- the system or custom field id that this clause is associated with; may be null if the clause does not have a corresponding field e.g. "parent issue" or "saved filter" clause.
-
getSupportedOperators
Description copied from interface:ClauseInformationProvides a set of the supportedOperator's that this custom field searcher can handle for its searching.- Specified by:
getSupportedOperatorsin interfaceClauseInformation- Returns:
- a set of supported operators.
-
getDataType
Description copied from interface:ClauseInformationProvides theJiraDataTypethat 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.DATEthen 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.- Specified by:
getDataTypein interfaceClauseInformation- Returns:
- the JiraDataType that this clause can handle.
- See Also:
-
getPluginName
-
getIssuePropertyJql
-
getAlias
-
isAutoComplete
public boolean isAutoComplete() -
isOrderable
public boolean isOrderable() -
getPropertyAliasedFrom
-