Class TypedValueSetsProviderImpl
- java.lang.Object
-
- jetbrains.buildServer.serverSide.parameters.TypedValueSetsProviderImpl
-
- All Implemented Interfaces:
TypedValueSetsProvider
public class TypedValueSetsProviderImpl extends Object implements TypedValueSetsProvider
-
-
Constructor Summary
Constructors Constructor Description TypedValueSetsProviderImpl(BuildTypeContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<TypedValueSet>find(String keyword, SProject project)Retrieves a sorted collection of TypedValueSets that match the given keyword.Collection<TypedValueSet>getAll(SProject project)Retrieves all TypedValueSets for a specified project.TypedValueSetgetByType(String type, SProject project)find the TypedValueSet with the type.
-
-
-
Constructor Detail
-
TypedValueSetsProviderImpl
public TypedValueSetsProviderImpl(@NotNull BuildTypeContext context)
-
-
Method Detail
-
getAll
@NotNull public Collection<TypedValueSet> getAll(@NotNull SProject project)
Description copied from interface:TypedValueSetsProviderRetrieves all TypedValueSets for a specified project.- Specified by:
getAllin interfaceTypedValueSetsProvider- Parameters:
project- Non-null SProject instance.- Returns:
- Sorted collection of all available TypedValueSets for the given project.
-
getByType
@Nullable public TypedValueSet getByType(@NotNull String type, @NotNull SProject project)
Description copied from interface:TypedValueSetsProviderfind the TypedValueSet with the type.- Specified by:
getByTypein interfaceTypedValueSetsProvider- Parameters:
type- nessasory type for filtering.- Returns:
- The TypedValueSet with the specified type, or null if not found.
-
find
@NotNull public Collection<TypedValueSet> find(@NotNull String keyword, @NotNull SProject project)
Description copied from interface:TypedValueSetsProviderRetrieves a sorted collection of TypedValueSets that match the given keyword. Keywords are meant to assist users in finding the appropriate TypedValueSet without specific knowledge about types.- Specified by:
findin interfaceTypedValueSetsProvider- Parameters:
keyword- representing the keyword for searching.- Returns:
- Sorted collection of TypedValueSets that match the keyword.
-
-