Interface FormulaFieldBuilder
- All Superinterfaces:
FieldBuilder<FormulaFieldBuilder>
Formula field builder
-
Method Summary
Modifier and TypeMethodDescriptionGet the field id.com.deiser.jira.profields.formula.domain.FormulaTemplateEnumGets template.setFieldId(String fieldId) Set the field id.Set Nobody as viewRolesetViewRole(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
-
getFieldId
String getFieldId()Get the field id.- Returns:
- the field id
-
setFieldId
Set the field id.- Parameters:
fieldId- the field id- Returns:
- the builder itself
-
getTemplate
com.deiser.jira.profields.formula.domain.FormulaTemplateEnum getTemplate()Gets template.- Returns:
- the template
-
setViewRole
Set the view role of the field.- Parameters:
role- the view role of jira for the field- Returns:
- the field builder itself
-
setNobodyAsViewRole
FormulaFieldBuilder setNobodyAsViewRole()Set Nobody as viewRole- Returns:
- the builder itself
-