Interface StatusFieldBuilder
- 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
Status 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:
setEditRole
in interfaceListFieldBuilder
- Parameters:
role
- the edit role of jira for the field- Returns:
- the field builder itself
-
setNobodyAsEditRole
StatusFieldBuilder setNobodyAsEditRole()Sets nobody edit role.- Specified by:
setNobodyAsEditRole
in interfaceListFieldBuilder
- Returns:
- the field builder itself
-
setViewRole
Set the view role of the field.- Specified by:
setViewRole
in interfaceListFieldBuilder
- Parameters:
role
- the view role of jira for the field.
-
setOnlyEditorsAsViewRole
StatusFieldBuilder setOnlyEditorsAsViewRole()Sets only editors view role.- Specified by:
setOnlyEditorsAsViewRole
in interfaceListFieldBuilder
- Returns:
- the field builder itself
-