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 voidaddBuildEnvironmnentVariable(String name, String value)Adds environment variable to the build process Creates build parameters withConstants.ENV_PREFIXprefix Note, on Windows machines environment size is limited.voidaddBuildSystemProperty(BuildParameterPolicy policy, String name, String value)Adds build system property to the build process Creates build parameters withConstants.SYSTEM_PREFIXprefixprotected abstract voidaddParameter(BuildParameterPolicy policy, String name, String value)
-
-
-
Method Detail
-
addBuildEnvironmnentVariable
public final void addBuildEnvironmnentVariable(@NotNull String name, @NotNull String value)Description copied from interface:AgentBuildParametersAdds environment variable to the build process Creates build parameters withConstants.ENV_PREFIXprefix Note, on Windows machines environment size is limited.- Specified by:
addBuildEnvironmnentVariablein 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:AgentBuildParametersAdds build system property to the build process Creates build parameters withConstants.SYSTEM_PREFIXprefix- Specified by:
addBuildSystemPropertyin 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)
-
-