Class OutdatedAgentCompatibilityExtension
- java.lang.Object
 - 
- jetbrains.buildServer.serverSide.impl.OutdatedAgentCompatibilityExtension
 
 
- 
- All Implemented Interfaces:
 BuildStartContextProcessor,ServerExtension,TeamCityExtension,PositionAware,PositionConstraintAware
public class OutdatedAgentCompatibilityExtension extends Object implements BuildStartContextProcessor, PositionAware
Since 2020.1 release agents require 1.8 java for start. There is 2019.2 agent distribution which can be installed on server and should run builds without new features. It's a place for supporting the agent if something is changed in agent-server communication 
- 
- 
Constructor Summary
Constructors Constructor Description OutdatedAgentCompatibilityExtension() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PositionConstraintgetConstraint()Constraint to be respected during objects sorting.StringgetOrderId()Returns object id that can be referenced by {PositionConstraint}voidupdateParameters(BuildStartContext context)This extension point is called before parameters are sent to a build agent. 
 - 
 
- 
- 
Method Detail
- 
updateParameters
public void updateParameters(@NotNull BuildStartContext context)Description copied from interface:BuildStartContextProcessorThis extension point is called before parameters are sent to a build agent. Build context can be used to alter parameters of a build before data is sent to a build agent- Specified by:
 updateParametersin interfaceBuildStartContextProcessor- Parameters:
 context- context to update
 
- 
getOrderId
@NotNull public String getOrderId()
Description copied from interface:PositionAwareReturns object id that can be referenced by {PositionConstraint}- Specified by:
 getOrderIdin interfacePositionAware- Returns:
 - object id
 
 
- 
getConstraint
@NotNull public PositionConstraint getConstraint()
Description copied from interface:PositionConstraintAwareConstraint to be respected during objects sorting.- Specified by:
 getConstraintin interfacePositionConstraintAware- Returns:
 - position constraint
 
 
 - 
 
 -