Interface FormulaField
- All Superinterfaces:
- Field
- All Known Subinterfaces:
- CumulativeField
Formula field
- 
Method SummaryModifier and TypeMethodDescriptionGet the field id.com.deiser.jira.profields.formula.domain.FormulaTemplateEnumGets template.voidsetFieldId(String fieldId) Set the field id.voidsetFieldRestriction(FieldRestriction restriction) Set Restriction options for viewing and editing values.voidDeprecated.voidsetViewRole(com.atlassian.jira.security.roles.ProjectRole role) Deprecated.Methods inherited from interface com.deiser.jira.profields.api.field.FieldgetCustomFieldId, getDescription, getEditRoleId, getFieldActions, getFieldRestriction, getId, getName, getPQLToken, getType, getViewRoleId, hasCustomField, hasParent, isList, isMultiple, isPredefined, isSystem, setCustomField, setDescription, setName
- 
Method Details- 
getFieldIdString getFieldId()Get the field id.- Returns:
- the field id
 
- 
setFieldIdSet the field id.- Parameters:
- fieldId- the field id
 
- 
getTemplatecom.deiser.jira.profields.formula.domain.FormulaTemplateEnum getTemplate()Gets template.- Returns:
- the template
 
- 
setViewRoleDeprecated.Deprecated. Use the FieldRestriction class. Set the view role of the field.- Parameters:
- role- the view role of jira for the field.
 
- 
setNobodyAsViewRoleDeprecated.Deprecated. Use the FieldRestriction class. Set nobody as view role for the field.
- 
setFieldRestrictionSet Restriction options for viewing and editing values. Create FieldRestriction by FieldRestrictionBuilder- Parameters:
- restriction- for the field
 
 
-