Interface ParameterValueCompletionProvider
-
- All Superinterfaces:
ServerExtension
,TeamCityExtension
- All Known Implementing Classes:
BuildStepsParameterValueCompletion
@UserImplemented public interface ParameterValueCompletionProvider extends ServerExtension
Used in a completion dialog, where a parameter value can be auto-completed from the keyboard.- Since:
- 2022.03
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<String>
getPossibleValues(String paramName, UserParametersHolder parametersHolder)
Return the list of values for the specified parameter.boolean
supports(String paramName)
Return true if this provider knows about the specified parameter
-
-
-
Method Detail
-
supports
boolean supports(@NotNull String paramName)
Return true if this provider knows about the specified parameter- Parameters:
paramName
- parameter name- Returns:
- see above
-
getPossibleValues
@NotNull List<String> getPossibleValues(@NotNull String paramName, @NotNull UserParametersHolder parametersHolder)
Return the list of values for the specified parameter.- Parameters:
paramName
- parameter name with a limited set of valuesparametersHolder
- an optional context object, could be SBuildType or SProject or BuildTypeTemplate- Returns:
- see above
-
-