Class DisableEditedInheritedRequirementsConverter

  • All Implemented Interfaces:
    Converter

    public class DisableEditedInheritedRequirementsConverter
    extends Object
    implements Converter
    The converter finds all template-based configurations and marks ids of all altered template requirements (i.e. those that also occur in configuration itself - based on their parameter names) as disabled. This is done to support multiple requirements for the same parameter name and, therefore, instead of editing requirements and linking them by parameter name, it will be disabling template requirements and creating new ones with the same parameter if such a requirement has to be customised (i.e. no Edit option on inherited requirements any more until proper id-based Edit functionality will be re-introduced for all entity types, such as build steps, triggers, dependencies etc.).
    Author:
    anton.zamolotskikh, 03/02/16.
    • Constructor Detail

      • DisableEditedInheritedRequirementsConverter

        public DisableEditedInheritedRequirementsConverter()