Interface ProjectFieldBuilder
- All Superinterfaces:
FieldBuilder<FieldBuilder>
Project field builder
-
Method Summary
Modifier and TypeMethodDescriptionsetEditRole
(com.atlassian.jira.security.roles.ProjectRole role) Deprecated.Deprecated.Deprecated.setViewRole
(com.atlassian.jira.security.roles.ProjectRole role) Deprecated.Methods inherited from interface com.deiser.jira.profields.api.field.FieldBuilder
getDescription, getEditRoleId, getFieldRestriction, getName, getType, getViewRoleId, hasCustomField, setCustomField, setDescription, setFieldRestriction, setName
-
Method Details
-
setEditRole
Deprecated.Deprecated. Use the RestrictionBuilder class. Set the edit role of the field.- Parameters:
role
- the edit role of jira for the field- Returns:
- the field builder itself
-
setNobodyAsEditRole
Deprecated.Deprecated. Use the RestrictionBuilder class. Sets nobody edit role.- Returns:
- the field builder itself
-
setViewRole
Deprecated.Deprecated. Use the RestrictionBuilder class. Set the view role of the field.- Parameters:
role
- the view role of jira for the field.
-
setOnlyEditorsAsViewRole
Deprecated.Deprecated. Use the RestrictionBuilder class. Sets only editors view role.- Returns:
- the field builder itself
-