Package jetbrains.buildServer.agent.impl
Class OsArchBitsDetector
- java.lang.Object
 - 
- jetbrains.buildServer.agent.impl.OsArchBitsDetector
 
 
- 
- All Implemented Interfaces:
 AgentExtension,AgentParametersSupplier,TeamCityExtension
public class OsArchBitsDetector extends Object implements AgentParametersSupplier
 
- 
- 
Constructor Summary
Constructors Constructor Description OsArchBitsDetector(ExtensionHolder extensionHolder, OSType osType, CommandLineRunner commandLineRunner) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>getParameters()Report discovered parameters.- 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 
- 
Methods inherited from interface jetbrains.buildServer.agent.config.AgentParametersSupplier
getEnvironmentVariables, getSystemProperties 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
OsArchBitsDetector
@Autowired public OsArchBitsDetector(@NotNull ExtensionHolder extensionHolder, @NotNull OSType osType, @NotNull CommandLineRunner commandLineRunner) 
 - 
 
- 
Method Detail
- 
getParameters
public Map<String,String> getParameters()
Description copied from interface:AgentParametersSupplierReport discovered parameters. Allows agent plugins to report parameters. On the agent's initialization, it will be plugged into theBuildAgentConfigurationWill be executed beforeAgentLifeCycleListener.agentStarted(BuildAgent)- Specified by:
 getParametersin interfaceAgentParametersSupplier- Returns:
 - parameters to be stored. Might include parameters from other clients.
 Can also be used to report environment variables and system properties,
 provided they're properly prefixed with 
Constants.ENV_PREFIXandConstants.SYSTEM_PREFIX, respectively 
 
 - 
 
 -