Interface PriorityFieldBuilder
- All Superinterfaces:
FieldBuilder<ListFieldBuilder>,ListFieldBuilder
- All Known Subinterfaces:
ListExtFieldBuilder<T>,ListExtMultipleFieldBuilder<T>,com.deiser.jira.profields.impl.field.type.listfield.ListFieldBuilder,com.deiser.jira.profields.impl.field.type.listfield.parent.ListParentFieldBuilder
Priority field builder
-
Method Summary
Modifier and TypeMethodDescriptionsetEditRole(com.atlassian.jira.security.roles.ProjectRole role) Set the edit role of the field.Sets nobody edit role.Sets only editors view role.setViewRole(com.atlassian.jira.security.roles.ProjectRole role) Set the view role of the field.Methods inherited from interface com.deiser.jira.profields.api.field.FieldBuilder
getDescription, getEditRoleId, getName, getType, getViewRoleId, hasCustomField, setCustomField, setDescription, setName
-
Method Details
-
setEditRole
Set the edit role of the field.- Specified by:
setEditRolein interfaceListFieldBuilder- Parameters:
role- the edit role of jira for the field- Returns:
- the field builder itself
-
setNobodyAsEditRole
PriorityFieldBuilder setNobodyAsEditRole()Sets nobody edit role.- Specified by:
setNobodyAsEditRolein interfaceListFieldBuilder- Returns:
- the field builder itself
-
setViewRole
Set the view role of the field.- Specified by:
setViewRolein interfaceListFieldBuilder- Parameters:
role- the view role of jira for the field.
-
setOnlyEditorsAsViewRole
PriorityFieldBuilder setOnlyEditorsAsViewRole()Sets only editors view role.- Specified by:
setOnlyEditorsAsViewRolein interfaceListFieldBuilder- Returns:
- the field builder itself
-