Interface PriorityField
Priority field
-
Method Summary
Modifier and TypeMethodDescriptionvoidsetEditRole(com.atlassian.jira.security.roles.ProjectRole role) Set the edit role of the field.voidSet nobody as edit role for the field.voidSet only editors as view role for the field.voidsetViewRole(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:
setEditRolein interfaceListField- Parameters:
role- the edit role of jira for the field.
-
setNobodyAsEditRole
void setNobodyAsEditRole()Set nobody as edit role for the field.- Specified by:
setNobodyAsEditRolein interfaceListField
-
setViewRole
void setViewRole(com.atlassian.jira.security.roles.ProjectRole role) Set the view role of the field.- Specified by:
setViewRolein 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:
setOnlyEditorsAsViewRolein interfaceListField
-