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 void
buildTypeExternalIdChanged(ConfigAction cause, SBuildType buildType, String oldExternalId, String newExternalId)
void
mapData(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:
buildTypeExternalIdChanged
in interfaceConfigActionsServerListener
- Overrides:
buildTypeExternalIdChanged
in classConfigActionsServerAdapter
-
mapData
public void mapData(@NotNull CopiedObjects copiedObjects)
- Specified by:
mapData
in interfaceCustomSettingsMapper
-
-