@UserImplemented(adapterClass=AbstractBuildParametersProvider.class) public interface BuildParametersProvider extends ServerExtension
AbstractBuildParametersProvider
rather then implement this interface directly.
To provide descriptions for the properties
ParameterDescriptionProvider| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,java.lang.String> |
getParameters(SBuild build,
boolean emulationMode)
Returns additional build parameters.
|
java.util.Collection<java.lang.String> |
getParametersAvailableOnAgent(SBuild build)
Returns collection of parameters (names) always available on the agent for the specified build.
|
@NotNull
java.util.Map<java.lang.String,java.lang.String> getParameters(@NotNull
SBuild build,
boolean emulationMode)
build - the build for which parameters should be addedemulationMode - if true then parameters are calculated in the emulation mode and provided build is a mock build.
For example, emulation mode is used to show parameters available for a build configuration in the web UI.ParameterDescriptionProvider@NotNull
java.util.Collection<java.lang.String> getParametersAvailableOnAgent(@NotNull
SBuild build)
getParameters(jetbrains.buildServer.serverSide.SBuild,boolean).
To provide descriptions for the properties ParameterDescriptionProviderbuild - build