Package jetbrains.buildServer.serverSide
Interface RunTypesProvider
-
public interface RunTypesProvider
Provides access to available run types- Since:
- 8.0
- Author:
- Eugene Petrenko (eugene.petrenko@jetbrains.com)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RunTypeWithExtensions
findExtendedRunType(String runType)
Finds a run type by its identifierMap<SProject,Collection<? extends RunType>>
getAvailableRunTypes()
Returns a map of projects to run types available for these projects.
-
-
-
Method Detail
-
findExtendedRunType
@Nullable RunTypeWithExtensions findExtendedRunType(@NotNull String runType)
Finds a run type by its identifier- Parameters:
runType
- run type identifier- Returns:
- run type merged with all available run type extensions
- Since:
- 5.1
-
getAvailableRunTypes
@NotNull Map<SProject,Collection<? extends RunType>> getAvailableRunTypes()
Returns a map of projects to run types available for these projects. The map is ordered from the root project to the most deep subproject.
The map does not contain run types which are resolved dynamically by their identifiers.- Returns:
- A map of projects to run types available for these projects.
- Since:
- 8.0
-
-