public class PropertyClauseInformation extends Object implements ClauseInformation
Constructor and Description |
---|
PropertyClauseInformation(ClauseNames clauseNames) |
Modifier and Type | Method and Description |
---|---|
JiraDataType |
getDataType()
Provides the
JiraDataType that this clause handles and searches on. |
String |
getFieldId() |
String |
getIndexField() |
ClauseNames |
getJqlClauseNames() |
Set<Operator> |
getSupportedOperators()
Provides a set of the supported
Operator 's that this custom field searcher
can handle for its searching. |
public PropertyClauseInformation(ClauseNames clauseNames)
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
Copyright © 2002-2019 Atlassian. All Rights Reserved.