Package jetbrains.buildServer.agent.impl
Class AgentBuildParametersImpl
- java.lang.Object
-
- jetbrains.buildServer.agent.impl.AgentBuildParametersImpl
-
- All Implemented Interfaces:
AgentBuildParameters
public abstract class AgentBuildParametersImpl extends Object implements AgentBuildParameters
- Author:
- Eugene Petrenko Created: 20.10.2008 21:27:19
-
-
Constructor Summary
Constructors Constructor Description AgentBuildParametersImpl()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
addBuildEnvironmnentVariable(String name, String value)
Adds environment variable to the build process Creates build parameters withConstants.ENV_PREFIX
prefix Note, on Windows machines environment size is limited.void
addBuildSystemProperty(BuildParameterPolicy policy, String name, String value)
Adds build system property to the build process Creates build parameters withConstants.SYSTEM_PREFIX
prefixprotected abstract void
addParameter(BuildParameterPolicy policy, String name, String value)
-
-
-
Method Detail
-
addBuildEnvironmnentVariable
public final void addBuildEnvironmnentVariable(@NotNull String name, @NotNull String value)
Description copied from interface:AgentBuildParameters
Adds environment variable to the build process Creates build parameters withConstants.ENV_PREFIX
prefix Note, on Windows machines environment size is limited.- Specified by:
addBuildEnvironmnentVariable
in interfaceAgentBuildParameters
- Parameters:
name
- name, may be case sensitive or not depending on OSvalue
- value
-
addBuildSystemProperty
public final void addBuildSystemProperty(@NotNull BuildParameterPolicy policy, @NotNull String name, @NotNull String value)
Description copied from interface:AgentBuildParameters
Adds build system property to the build process Creates build parameters withConstants.SYSTEM_PREFIX
prefix- Specified by:
addBuildSystemProperty
in interfaceAgentBuildParameters
- Parameters:
policy
- defines weather build parameter is mandatory or notname
- name, may be case sensitive or not depending on runnervalue
- value
-
addParameter
protected abstract void addParameter(@NotNull BuildParameterPolicy policy, @NotNull String name, @NotNull String value)
-
-