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

      @Deprecated ScriptFieldBuilder setViewRole(com.atlassian.jira.security.roles.ProjectRole role)
      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 ScriptFieldBuilder setNobodyAsViewRole()
      Deprecated.
      Deprecated. Use the RestrictionBuilder class. Set Nobody as viewRole
      Returns:
      the builder itself