jetbrains.buildServer.serverSide.parameters
Interface BuildParameterReferencesProvider

All Superinterfaces:
ServerExtension, TeamCityExtension
All Known Implementing Classes:
AbstractBuildParameterReferencesProvider

public interface BuildParameterReferencesProvider
extends ServerExtension

This extension allows to add parameters to be used in server-side build-related properties resolutinos. The properties added are not passed into the build, but can be referenced in build number and VCS labeling patterns, as well as in properties definitions. The properties provided should not start with "system." or "env." prefixed (because they will not be passed into the build). It is recommended to extend AbstractBuildParameterReferencesProvider rather then implement this interface directly.

Since:
4.5
Author:
Yegor.Yarko Date: 20.01.2009

Method Summary
 java.util.Map<java.lang.String,java.lang.String> getParameters(SBuild build)
          Returns parameters to add to the resolution map
 

Method Detail

getParameters

@NotNull
java.util.Map<java.lang.String,java.lang.String> getParameters(@NotNull
                                                                       SBuild build)
Returns parameters to add to the resolution map

Parameters:
build - the build in the context of which the parameters will be used
Returns:
the map of the parameter name - parameter value pairs