Class FieldReferenceData.FieldReferenceDataBuilder
java.lang.Object
io.github.primelib.jira4j.restv3.model.FieldReferenceData.FieldReferenceDataBuilder
- Enclosing class:
- FieldReferenceData
-
Method Summary
Modifier and TypeMethodDescriptionWhether the field provide auto-complete suggestions.build()
If the item is a custom field, the ID of the custom field.deprecated
(FieldReferenceData.DeprecatedEnum deprecated) Whether this field has been deprecated.deprecatedSearcherKey
(String deprecatedSearcherKey) The searcher key of the field, only passed when the field is deprecated.displayName
(String displayName) The display name contains the following: * for system fields, the field name.The valid search operators for the field.orderable
(FieldReferenceData.OrderableEnum orderable) Whether the field can be used in a query'sORDER BY
clause.searchable
(FieldReferenceData.SearchableEnum searchable) Whether the content of this field can be searched.toString()
The data types of items in the field.The field identifier.
-
Method Details
-
auto
Whether the field provide auto-complete suggestions.- Returns:
this
.
-
cfid
If the item is a custom field, the ID of the custom field.- Returns:
this
.
-
deprecated
public FieldReferenceData.FieldReferenceDataBuilder deprecated(FieldReferenceData.DeprecatedEnum deprecated) Whether this field has been deprecated.- Returns:
this
.
-
deprecatedSearcherKey
public FieldReferenceData.FieldReferenceDataBuilder deprecatedSearcherKey(String deprecatedSearcherKey) The searcher key of the field, only passed when the field is deprecated.- Returns:
this
.
-
displayName
The display name contains the following: * for system fields, the field name. For example,Summary
. * for collapsed custom fields, the field name followed by a hyphen and then the field name and field type. For example,Component - Component[Dropdown]
. * for other custom fields, the field name followed by a hyphen and then the custom field ID. For example,Component - cf[10061]
.- Returns:
this
.
-
operators
The valid search operators for the field.- Returns:
this
.
-
orderable
public FieldReferenceData.FieldReferenceDataBuilder orderable(FieldReferenceData.OrderableEnum orderable) Whether the field can be used in a query'sORDER BY
clause.- Returns:
this
.
-
searchable
public FieldReferenceData.FieldReferenceDataBuilder searchable(FieldReferenceData.SearchableEnum searchable) Whether the content of this field can be searched.- Returns:
this
.
-
types
The data types of items in the field.- Returns:
this
.
-
value
The field identifier.- Returns:
this
.
-
build
-
toString
-