Interface FieldBuilder<B>
- All Known Subinterfaces:
CumulativeFieldBuilder
,DateFieldBuilder
,DateTimeFieldBuilder
,DurationFieldBuilder
,FormulaFieldBuilder
,GroupFieldBuilder
,GroupMultipleFieldBuilder
,ListExtFieldBuilder<T>
,ListExtMultipleFieldBuilder<T>
,ListFieldBuilder
,com.deiser.jira.profields.impl.field.type.listfield.ListFieldBuilder
,ListMultipleFieldBuilder
,ListParentFieldBuilder
,com.deiser.jira.profields.impl.field.type.listfield.parent.ListParentFieldBuilder
,NumberFieldBuilder
,PriorityFieldBuilder
,ProjectFieldBuilder
,ProjectMultipleFieldBuilder
,ScriptFieldBuilder
,StatusFieldBuilder
,TextFieldBuilder
,TextMultipleFieldBuilder
,UserFieldBuilder
,UserMultipleFieldBuilder
public interface FieldBuilder<B>
Field builder.
-
Method Summary
Modifier and TypeMethodDescriptionGet the description of the field.Get the edit role id of the field.getName()
Get the name of the field.getType()
Get the type of the field.Get the view role id of the field.boolean
Get if the field has a custom field associatedsetCustomField
(boolean value) Set if the field has a custom fieldsetDescription
(String description) Set the description of the field.Set the name of the field.
-
Method Details
-
getName
String getName()Get the name of the field.- Returns:
- the name of the field
-
setName
Set the name of the field.- Parameters:
name
- name of the field- Returns:
- the field builder itself
-
getDescription
String getDescription()Get the description of the field.- Returns:
- the description of the field
-
setDescription
Set the description of the field.- Parameters:
description
- the description of the field- Returns:
- the field builder itself
-
getEditRoleId
Long getEditRoleId()Get the edit role id of the field.- Returns:
- the edit role id of the field
-
getViewRoleId
Long getViewRoleId()Get the view role id of the field.- Returns:
- the view role id of the field
-
hasCustomField
boolean hasCustomField()Get if the field has a custom field associated- Returns:
- true if the field has a custom field associated
-
setCustomField
Set if the field has a custom field- Parameters:
value
- true if the field has a custom field- Returns:
- the field builder itself
-
getType
FieldType getType()Get the type of the field.- Returns:
- the type of the field
-