Interface ScriptFieldBuilder
- All Superinterfaces:
FieldBuilder<ScriptFieldBuilder>
Script field builder
-
Method Summary
Modifier and TypeMethodDescriptiongetCode()
Get the code of the script.Set the code of the script.Deprecated.setViewRole
(com.atlassian.jira.security.roles.ProjectRole role) Deprecated.Methods inherited from interface com.deiser.jira.profields.api.field.FieldBuilder
getDescription, getEditRoleId, getFieldRestriction, getName, getType, getViewRoleId, hasCustomField, setCustomField, setDescription, setFieldRestriction, setName
-
Method Details
-
getCode
String getCode()Get the code of the script.- Returns:
- the code of the script
-
setCode
Set the code of the script.- Parameters:
code
- the code of the script- Returns:
- the script builder itself
-
setViewRole
Deprecated.Deprecated. Use the RestrictionBuilder class. Set the view role of the field.- Parameters:
role
- the view role of jira for the field- Returns:
- the field builder itself
-
setNobodyAsViewRole
Deprecated.Deprecated. Use the RestrictionBuilder class. Set Nobody as viewRole- Returns:
- the builder itself
-