Interface PriorityField
Priority field
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setEditRole
(com.atlassian.jira.security.roles.ProjectRole role) Set the edit role of the field.void
Set nobody as edit role for the field.void
Set only editors as view role for the field.void
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.Field
getCustomFieldId, getDescription, getEditRoleId, getFieldActions, getId, getName, getPQLToken, getType, getViewRoleId, hasCustomField, hasParent, isList, isMultiple, isPredefined, isSystem, setCustomField, setDescription, setName
-
Method Details
-
setEditRole
void setEditRole(com.atlassian.jira.security.roles.ProjectRole role) Set the edit role of the field.- Specified by:
setEditRole
in interfaceListField
- Parameters:
role
- the edit role of jira for the field.
-
setNobodyAsEditRole
void setNobodyAsEditRole()Set nobody as edit role for the field.- Specified by:
setNobodyAsEditRole
in interfaceListField
-
setViewRole
void setViewRole(com.atlassian.jira.security.roles.ProjectRole role) Set the view role of the field.- Specified by:
setViewRole
in interfaceListField
- Parameters:
role
- the view role of jira for the field.
-
setOnlyEditorsAsViewRole
void setOnlyEditorsAsViewRole()Set only editors as view role for the field.- Specified by:
setOnlyEditorsAsViewRole
in interfaceListField
-