Class DependencyParameterReferencesProcessor
- java.lang.Object
 - 
- jetbrains.buildServer.serverSide.ConfigActionsServerAdapter
 - 
- jetbrains.buildServer.serverSide.parameters.DependencyParameterReferencesProcessor
 
 
 
- 
- All Implemented Interfaces:
 EventListener,ConfigActionsServerListener,CustomSettingsMapper,ServerExtension,TeamCityExtension
public class DependencyParameterReferencesProcessor extends ConfigActionsServerAdapter implements CustomSettingsMapper
This class watches for external id changes in build configuration and changes %dep..*% parameter references accordingly. It also changes parameters with names reverse.dep. . (pushed dependency parameters). Finally this class performs external id mapping when build configuration is copied.  
- 
- 
Constructor Summary
Constructors Constructor Description DependencyParameterReferencesProcessor(ParameterFactory parameterFactory, EventDispatcher<ConfigActionsServerListener> configEvents, BuildTriggerDescriptorFactory buildTriggerDescriptorFactory, ServerResponsibility responsibility) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbuildTypeExternalIdChanged(ConfigAction cause, SBuildType buildType, String oldExternalId, String newExternalId)voidmapData(CopiedObjects copiedObjects)- 
Methods inherited from class jetbrains.buildServer.serverSide.ConfigActionsServerAdapter
afterProjectMove, buildTypeTemplateExternalIdChanged, projectExternalIdChanged, vcsRootExternalIdChanged, vcsRootPersisted 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
DependencyParameterReferencesProcessor
public DependencyParameterReferencesProcessor(@NotNull ParameterFactory parameterFactory, @NotNull EventDispatcher<ConfigActionsServerListener> configEvents, @NotNull BuildTriggerDescriptorFactory buildTriggerDescriptorFactory, @NotNull ServerResponsibility responsibility) 
 - 
 
- 
Method Detail
- 
buildTypeExternalIdChanged
public void buildTypeExternalIdChanged(@NotNull ConfigAction cause, @NotNull SBuildType buildType, @NotNull String oldExternalId, @NotNull String newExternalId)- Specified by:
 buildTypeExternalIdChangedin interfaceConfigActionsServerListener- Overrides:
 buildTypeExternalIdChangedin classConfigActionsServerAdapter
 
- 
mapData
public void mapData(@NotNull CopiedObjects copiedObjects)- Specified by:
 mapDatain interfaceCustomSettingsMapper
 
 - 
 
 -