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.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
-
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
Set the view role of the field.- Parameters:
role
- the view role of jira for the field- Returns:
- the field builder itself
-
setNobodyAsViewRole
ScriptFieldBuilder setNobodyAsViewRole()Set Nobody as viewRole- Returns:
- the builder itself
-