public class

SuggestionBeanFactory

extends Object
java.lang.Object
   ↳ com.atlassian.jira.issue.fields.rest.json.SuggestionBeanFactory

Class Overview

Factory for converting Project and Option into SuggestionBean suitable for use as suggestion for SingleSelect fields

Summary

Public Constructors
SuggestionBeanFactory(AvatarService avatarService, BaseUrl baseUrl)
Public Methods
Collection<SuggestionBean> optionSuggestions(Collection<Option> options, Optional<String> selectedOptionId)
Collection<SuggestionBean> projectSuggestions(Collection<Project> projects, Optional<Long> selectedProjectId)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public SuggestionBeanFactory (AvatarService avatarService, BaseUrl baseUrl)

Public Methods

public Collection<SuggestionBean> optionSuggestions (Collection<Option> options, Optional<String> selectedOptionId)

public Collection<SuggestionBean> projectSuggestions (Collection<Project> projects, Optional<Long> selectedProjectId)