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.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.Field
getCustomFieldId, getDescription, getEditRoleId, getFieldActions, getFieldRestriction, 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
Deprecated.Deprecated. Use the FieldRestriction class. Set the view role of the field.- Parameters:
role- the view role of jira for the field.
-
setNobodyAsViewRole
Deprecated.Deprecated. Use the FieldRestriction class. Set nobody as view role for the field. -
setFieldRestriction
Set Restriction options for viewing and editing values. Create FieldRestriction by FieldRestrictionBuilder- Parameters:
restriction- for the field
-