Interface ScriptFieldBuilder

All Superinterfaces:
FieldBuilder<ScriptFieldBuilder>

public interface ScriptFieldBuilder extends FieldBuilder<ScriptFieldBuilder>
Script field builder
  • Method Details

    • getCode

      String getCode()
      Get the code of the script.
      Returns:
      the code of the script
    • setCode

      ScriptFieldBuilder setCode(String code)
      Set the code of the script.
      Parameters:
      code - the code of the script
      Returns:
      the script builder itself
    • setViewRole

      ScriptFieldBuilder 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
      Returns:
      the field builder itself
    • setNobodyAsViewRole

      ScriptFieldBuilder setNobodyAsViewRole()
      Set Nobody as viewRole
      Returns:
      the builder itself