Interface FormulaField
- All Superinterfaces:
Field
- All Known Subinterfaces:
CumulativeField
Formula field
-
Method Summary
Modifier and TypeMethodDescriptionGet the field id.com.deiser.jira.profields.formula.domain.FormulaTemplateEnum
Gets template.void
setFieldId
(String fieldId) Set the field id.void
Set nobody 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
-
getFieldId
String getFieldId()Get the field id.- Returns:
- the field id
-
setFieldId
Set the field id.- Parameters:
fieldId
- the field id
-
getTemplate
com.deiser.jira.profields.formula.domain.FormulaTemplateEnum getTemplate()Gets template.- Returns:
- the template
-
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.
-
setNobodyAsViewRole
void setNobodyAsViewRole()Set nobody as view role for the field.
-