|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
@UserImplemented(adapterClass=AbstractBuildParametersProvider.class) public interface BuildParametersProvider
This extension allows to add additional parameters available for a build.
These parameters can be system properties, environment variables or configuration parameters.
Configuration parameters provided by this extension can then be used in references.
System properties and environment variables will be passed to an agent and then to a build.
It is recommended to extend AbstractBuildParametersProvider
rather then implement this interface directly.
To provide desriptions for the properties
ParameterDescriptionProvider
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
@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 desriptions for the properties ParameterDescriptionProvider
build - build
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||