Interface UserSelectOptionsProvider
-
- All Superinterfaces:
ServerExtension
,TeamCityExtension
public interface UserSelectOptionsProvider extends ServerExtension
Temporary class to workaround the issue of having to provide String as value in ControlDescription Will be removed when parameters handling in notifications is reworked Functions as a lambda (SUser) -> Listfor providing dynamic options in a selection
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getId()
Unique id that should be referenced when describing parameter in ControlDescriptionList<SelectOption>
getSelectOptions(SUser user)
-
-
-
Method Detail
-
getId
@NotNull String getId()
Unique id that should be referenced when describing parameter in ControlDescription- Returns:
- id
-
getSelectOptions
@NotNull List<SelectOption> getSelectOptions(@NotNull SUser user)
- Parameters:
user
- user for which to generte options- Returns:
- available options list
-
-