Interface PriorityField
Priority field
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setEditRole
(com.atlassian.jira.security.roles.ProjectRole role) Deprecated.void
setFieldRestriction
(FieldRestriction restriction) Set Restriction options for viewing and editing values.void
Deprecated.void
Deprecated.void
setViewRole
(com.atlassian.jira.security.roles.ProjectRole role) Deprecated.Methods inherited from interface com.deiser.jira.profields.api.field.Field
getCustomFieldId, getDescription, getEditRoleId, getFieldActions, getFieldRestriction, getId, getName, getPQLToken, getType, getViewRoleId, hasCustomField, hasParent, isList, isMultiple, isPredefined, isSystem, setCustomField, setDescription, setName
-
Method Details
-
setEditRole
Deprecated.Deprecated. Use the FieldRestriction class. Set the edit role of the field.- Specified by:
setEditRole
in interfaceListField
- Parameters:
role
- the edit role of jira for the field.
-
setNobodyAsEditRole
Deprecated.Deprecated. Use the FieldRestriction class. Set nobody as edit role for the field.- Specified by:
setNobodyAsEditRole
in interfaceListField
-
setViewRole
Deprecated.Deprecated. Use the FieldRestriction class. Set the view role of the field.- Specified by:
setViewRole
in interfaceListField
- Parameters:
role
- the view role of jira for the field.
-
setOnlyEditorsAsViewRole
Deprecated.Deprecated. Use the FieldRestriction class. Set only editors as view role for the field.- Specified by:
setOnlyEditorsAsViewRole
in interfaceListField
-
setFieldRestriction
Set Restriction options for viewing and editing values. Create FieldRestriction by FieldRestrictionBuilder- Specified by:
setFieldRestriction
in interfaceListField
- Parameters:
restriction
- for the field
-