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) -> List for providing dynamic options in a selection
    • 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