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 SummaryModifier and TypeMethodDescriptionGet the description of the field.Get the edit role id of the field.Get restriction in the field buildergetName()Get the name of the field.getType()Get the type of the field.Get the view role id of the field.booleanGet 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.setFieldRestriction(FieldRestriction fieldRestriction) Set restriction at the field levelSet the name of the field.
- 
Method Details- 
getNameString getName()Get the name of the field.- Returns:
- the name of the field
 
- 
setNameSet the name of the field.- Parameters:
- name- name of the field
- Returns:
- the field builder itself
 
- 
getDescriptionString getDescription()Get the description of the field.- Returns:
- the description of the field
 
- 
setDescriptionSet the description of the field.- Parameters:
- description- the description of the field
- Returns:
- the field builder itself
 
- 
getEditRoleIdLong getEditRoleId()Get the edit role id of the field.- Returns:
- the edit role id of the field
 
- 
getViewRoleIdLong getViewRoleId()Get the view role id of the field.- Returns:
- the view role id of the field
 
- 
hasCustomFieldboolean hasCustomField()Get if the field has a custom field associated- Returns:
- true if the field has a custom field associated
 
- 
setCustomFieldSet if the field has a custom field- Parameters:
- value- true if the field has a custom field
- Returns:
- the field builder itself
 
- 
getTypeFieldType getType()Get the type of the field.- Returns:
- the type of the field
 
- 
getFieldRestrictionFieldRestriction getFieldRestriction()Get restriction in the field builder- Returns:
- FieldRestriction
 
- 
setFieldRestrictionSet restriction at the field level- Parameters:
- fieldRestriction- the restriction created from FieldRestrictionBuilder
- Returns:
- the field builder itself
 
 
-