Interface DateFieldBuilder
- All Superinterfaces:
FieldBuilder<FieldBuilder>
Date field builder
-
Method Summary
Modifier and TypeMethodDescriptionsetEditRole
(com.atlassian.jira.security.roles.ProjectRole role) Set the edit role of the field.Sets nobody edit role.Sets only editors view role.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.FieldBuilder
getDescription, getEditRoleId, getName, getType, getViewRoleId, hasCustomField, setCustomField, setDescription, setName
-
Method Details
-
setEditRole
Set the edit role of the field.- Parameters:
role
- the edit role of jira for the field- Returns:
- the field builder itself
-
setNobodyAsEditRole
DateFieldBuilder setNobodyAsEditRole()Sets nobody edit role.- Returns:
- the field builder itself
-
setViewRole
Set the view role of the field.- Parameters:
role
- the view role of jira for the field.
-
setOnlyEditorsAsViewRole
DateFieldBuilder setOnlyEditorsAsViewRole()Sets only editors view role.- Returns:
- the field builder itself
-