Interface DurationField
- All Superinterfaces:
Field
Duration 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.- Parameters:
role
- the edit role of jira for the field.
-
setNobodyAsEditRole
void setNobodyAsEditRole()Set nobody as edit role for the field. -
setViewRole
void setViewRole(com.atlassian.jira.security.roles.ProjectRole role) Set the view role of the field.- Parameters:
role
- the view role of jira for the field.
-
setOnlyEditorsAsViewRole
void setOnlyEditorsAsViewRole()Set only editors as view role for the field.
-