Class OverridableSettingsCopier

  • All Implemented Interfaces:
    BuildTypeSettingsCopier

    public abstract class OverridableSettingsCopier
    extends HolderBasedSettingsCopier
    Utility abstract class that implements a generic copying algorithm for overridable build type settings.
    Author:
    anton.zamolotskikh, 24/03/16.
    • Method Detail

      • copy

        public void copy​(@NotNull
                         Map<String,​String> mappedIds)
        Description copied from interface: BuildTypeSettingsCopier
        Performs copying settings. The instance of the inherited class must already hold a reference to the copied settings before invocation of this method.
        Parameters:
        mappedIds - a old id to new id map populated while copying
      • getDestinationOwn

        @NotNull
        protected abstract Collection<jetbrains.buildServer.serverSide.impl.copy.HolderBasedSettingsCopier.CopiedSettingsHolder> getDestinationOwn()
        Returns a collection of holders containing build type own settings
      • getDestinationInherited

        @NotNull
        protected abstract Collection<jetbrains.buildServer.serverSide.impl.copy.HolderBasedSettingsCopier.CopiedSettingsHolder> getDestinationInherited()
        Returns a collection of holders containing build type's inherited settings (usually from own templates)