Interface ScriptField
- All Superinterfaces:
Field
Script field
-
Method Summary
Modifier and TypeMethodDescriptiongetCode()
Get the code of the scriptcom.atlassian.jira.user.ApplicationUser
getOwner()
Gets ownercom.deiser.jira.profields.script.domain.ScriptTemplateEnum
Gets template.void
Set the code of the scriptvoid
Set nobody as view role for the field.void
setViewRole
(com.atlassian.jira.security.roles.ProjectRole role) Set the view role of the field.Methods inherited from interface com.deiser.jira.profields.api.field.Field
getCustomFieldId, getDescription, getEditRoleId, getFieldActions, getId, getName, getPQLToken, getType, getViewRoleId, hasCustomField, hasParent, isList, isMultiple, isPredefined, isSystem, 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
-
getTemplate
com.deiser.jira.profields.script.domain.ScriptTemplateEnum getTemplate()Gets template.- Returns:
- the template
-
getOwner
com.atlassian.jira.user.ApplicationUser getOwner()Gets owner- Returns:
- the owner
-
setViewRole
void setViewRole(com.atlassian.jira.security.roles.ProjectRole role) Set the view role of the field.- Parameters:
role
- the view role of jira for the field.
-
setNobodyAsViewRole
void setNobodyAsViewRole()Set nobody as view role for the field.
-