@Immutable public class AliasClauseInformation extends Object implements ClauseInformation
Constructor and Description |
---|
AliasClauseInformation(IndexDocumentConfiguration.Type type,
String alias,
String luceneFieldName,
ClauseNames clauseNames,
IssuePropertyJql issuePropertyJql,
String pluginName,
Property propertyAliasedFrom) |
Modifier and Type | Method and Description |
---|---|
String |
getAlias() |
JiraDataType |
getDataType()
Provides the
JiraDataType that this clause handles and searches on. |
String |
getFieldId() |
String |
getIndexField() |
IssuePropertyJql |
getIssuePropertyJql() |
ClauseNames |
getJqlClauseNames() |
String |
getPluginName() |
Property |
getPropertyAliasedFrom() |
Set<Operator> |
getSupportedOperators()
Provides a set of the supported
Operator 's that this custom field searcher
can handle for its searching. |
boolean |
isAutoComplete() |
boolean |
isOrderable() |
public AliasClauseInformation(IndexDocumentConfiguration.Type type, String alias, String luceneFieldName, ClauseNames clauseNames, IssuePropertyJql issuePropertyJql, String pluginName, Property propertyAliasedFrom)
public ClauseNames getJqlClauseNames()
getJqlClauseNames
in interface ClauseInformation
@Nullable public String getIndexField()
getIndexField
in interface ClauseInformation
@Nullable 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
public IssuePropertyJql getIssuePropertyJql()
public String getAlias()
public boolean isAutoComplete()
public boolean isOrderable()
public Property getPropertyAliasedFrom()
Copyright © 2002-2024 Atlassian. All Rights Reserved.