Class SuggestionBeanFactory
java.lang.Object
com.atlassian.jira.issue.fields.rest.json.SuggestionBeanFactory
Factory for converting
Project
and Option
into SuggestionBean
suitable for use as suggestion for
SingleSelect fields- Since:
- 6.4
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionoptionSuggestions
(Collection<Option> options, Optional<String> selectedOptionId) projectSuggestions
(Collection<Project> projects, Optional<Long> selectedProjectId)
-
Constructor Details
-
SuggestionBeanFactory
-
-
Method Details
-
projectSuggestions
public Collection<SuggestionBean> projectSuggestions(Collection<Project> projects, Optional<Long> selectedProjectId) -
optionSuggestions
public Collection<SuggestionBean> optionSuggestions(Collection<Option> options, Optional<String> selectedOptionId)
-