Initialize Settings for child components in build widget
1. Build Status criteria settings
2. Build Duration criteria settings

@param buildScoreSettings
351698
private void initBuildScoreChildrenSettings(BuildScoreSettings buildScoreSettings) {
    ScoreComponentSettings buildStatusSettings = Utils.getInstanceIfNull(
      buildScoreSettings.getStatus(),
      ScoreComponentSettings.class
    );
    buildStatusSettings.setCriteria(
      Utils.mergeCriteria(buildScoreSettings.getCriteria(), buildStatusSettings.getCriteria())
    );
    buildScoreSettings.setStatus(buildStatusSettings);

    BuildScoreSettings.BuildDurationScoreSettings buildDurationSettings = Utils.getInstanceIfNull(
      buildScoreSettings.getDuration(),
      BuildScoreSettings.BuildDurationScoreSettings.class
    );

    buildDurationSettings.setCriteria(
      Utils.mergeCriteria(buildScoreSettings.getCriteria(), buildDurationSettings.getCriteria())
    );
    buildScoreSettings.setDuration(buildDurationSettings);
  }
1094559
protected void setupDefaultSettings(GsonBuilder builder) {
        registerStringAdapter(builder);
        registerNumberAdapter(builder);
        registerJava8TimeAdapter(builder);
        registerBooleanAdapter(builder);
        registerCollectionAdapter(builder);
        registerDBFluteAdapter(builder);
        registerUtilDateFormat(builder);
        setupFieldPolicy(builder);
        setupYourCollectionSettings(builder);
        setupYourScalarSettings(builder);
        setupYourUltimateSettings(builder);
    }
459570
public void setLaunchTemplates(java.util.Collection<LaunchTemplate> launchTemplates) {
        if (launchTemplates == null) {
            this.launchTemplates = null;
            return;
        }

        this.launchTemplates = new com.amazonaws.internal.SdkInternalList<LaunchTemplate>(launchTemplates);
    }
510788
protected function _initSettings()
    {
        parent::_initSettings();
        $this->_emptyIfSingleEntry = $menuLevel = Kwc_Abstract::getSetting($this->_class, 'emptyIfSingleEntry');
    }
234490
public final void generateDashboardScoreSettings() {
    ScoreCriteriaSettings dashboardScoreCriteriaSettings = new ScoreCriteriaSettings();
    dashboardScoreCriteriaSettings.setMaxScore(
      this.scoreSettings.getMaxScore()
    );
    dashboardScoreCriteriaSettings.setType(ScoreValueType.DASHBOARD);
    dashboardScoreCriteriaSettings.setComponentAlert(
      ComponentAlert.cloneComponentAlert(this.scoreSettings.getComponentAlert())
    );
    dashboardScoreCriteriaSettings.setBuild(
      BuildScoreSettings.cloneBuildScoreSettings(this.scoreSettings.getBuildWidget())
    );
    dashboardScoreCriteriaSettings.setDeploy(
      DeployScoreSettings.cloneDeployScoreSettings(this.scoreSettings.getDeployWidget())
    );
    dashboardScoreCriteriaSettings.setQuality(
      QualityScoreSettings.cloneQualityScoreSettings(this.scoreSettings.getQualityWidget())
    );
    dashboardScoreCriteriaSettings.setScm(
      ScmScoreSettings.cloneScmScoreSettings(this.scoreSettings.getScmWidget())
    );

    LOGGER.debug("Generate Score Dashboard Settings dashboardScoreCriteriaSettings {}", dashboardScoreCriteriaSettings);

    this.dashboardScoreCriteriaSettings = dashboardScoreCriteriaSettings;
  }
1052221
@Override
    public synchronized void initialize(Settings settings) {
        super.initialize(settings);
        setEnabled(checkEnabled());
        numberOfRetries = getSettings().getInt(Settings.KEYS.ANALYZER_CENTRAL_RETRY_COUNT, numberOfRetries);
    }
544584
@PostConstruct
    public synchronized void initialize() {
        final FwCoreDirection direction = assistCoreDirection();
        final TimeResourceProvider provider = direction.assistTimeResourceProvider();
        businessTimeHandler = provider.provideBusinessTimeHandler(this);
        if (businessTimeHandler == null) {
            String msg = "The provider returned null business-time handler: " + provider;
            throw new FwRequiredAssistNotFoundException(msg);
        }
        if (direction.isDevelopmentHere()) {
            developmentProvider = provider;
        } else {
            currentIgnoreTransaction = provider.isCurrentIgnoreTransaction();
            adjustTimeMillis = provider.provideAdjustTimeMillis();
            adjustAbsoluteMode = provider.isAdjustAbsoluteMode();
        }
        realCurrentTimeProvider = provider.provideRealCurrentTimeProvider(); // null allowed
        showBootLogging();
    }
952109
@SuppressWarnings("unchecked")
    public void setSettings(Object presets) {

        if (presets == null) {
            m_settingPresets = null;
        } else if (!(presets instanceof Map)) {
            throw new IllegalArgumentException(
                "cms:container -- value of 'settings' attribute  should be a map, but is "
                    + ClassUtils.getCanonicalName(presets));
        } else {
            m_settingPresets = new HashMap<>((Map<String, String>)presets);
        }
    }
904838
public function init() {

		parent::init();

		// Initialise core validators
		CoreValidator::initValidators();

		/** Set CMSGears alias to be used by all modules, plugins, widgets and themes.
		 * It will be located within the vendor directory for composer.
		 */
		Yii::setAlias( 'cmsgears', dirname( dirname( dirname( __DIR__ ) ) ) );
	}
1285348
@Override
	protected void initFromSettings(Settings settings)
	{
		super.initFromSettings(settings);
		
		this.subscriberFailurePolicy  = settings.getIntProperty("subscriberFailurePolicy",FFMQSubscriberPolicy.SUBSCRIBER_POLICY_LOG);
		this.subscriberOverflowPolicy = settings.getIntProperty("subscriberOverflowPolicy",FFMQSubscriberPolicy.SUBSCRIBER_POLICY_LOG);
		
		String rawPartitionsKeysToIndex = settings.getStringProperty("partitionsKeysToIndex");
		if (rawPartitionsKeysToIndex != null)
		{
			StringTokenizer st = new StringTokenizer(rawPartitionsKeysToIndex, ", ");
			this.partitionsKeysToIndex = new String[st.countTokens()];
			int pos = 0;
			while (st.hasMoreTokens())
				this.partitionsKeysToIndex[pos++] = st.nextToken();
		}
	}
409424
@PostConstruct
    public synchronized void initialize() {
        final FwCoreDirection direction = assistCoreDirection();
        final ConcurrentAsyncExecutorProvider provider = direction.assistConcurrentAsyncExecutorProvider();
        defaultConcurrentAsyncOption = provider != null ? provider.provideDefaultOption() : null;
        if (defaultConcurrentAsyncOption == null) {
            defaultConcurrentAsyncOption = new ConcurrentAsyncOption();
        }
        primaryExecutorService = createDefaultPrimaryExecutorService(provider);
        secondaryExecutorService = createDefaultSecondaryExecutorService(provider);
        tertiaryExecutorService = createDefaultSecondaryExecutorService(provider);
        showBootLogging();
    }
875149
public void setCores(java.util.Collection<Core> cores) {
        if (cores == null) {
            this.cores = null;
            return;
        }

        this.cores = new java.util.ArrayList<Core>(cores);
    }
1077553
@Override
    public void build() {
        if (site != null) {
            site.getProcessors().beforeBuildTheme(this);
        }

        initializeResourceBuilders();
        if (!builders.isEmpty()) {
            try {
                for (ResourceBuilder builder : builders) {
                    builder.build();
                }
            } catch (RuntimeException e) {
                throw e;
            } catch (Exception e) {
                throw new RuntimeException("Theme build exception", e);
            }
        }

        if (site != null) {
            site.getProcessors().afterBuildTheme(this);
        }
    }
596746
private void initDeployScoreSettings() {
    DeployScoreSettings deployScoreSettings = this.scoreSettings.getDeployWidget();
    if (null != deployScoreSettings) {

      deployScoreSettings.setCriteria(
        Utils.mergeCriteria(this.scoreSettings.getCriteria(), deployScoreSettings.getCriteria())
      );
      initDeployScoreChildrenSettings(deployScoreSettings);

    }
  }
1323295
public void initCore(Options options, HttpSession httpSession) {
		httpSession.setAttribute(Constants.Options.OPTIONS, options);
	}
1274341
private void initComponents(List<CmsSetupComponent> components) {

        for (CmsSetupComponent component : components) {
            CheckBox checkbox = new CheckBox();
            checkbox.setValue(component.isChecked());
            checkbox.setCaption(component.getName() + " - " + component.getDescription());
            checkbox.setDescription(component.getDescription());
            checkbox.setData(component);
            checkbox.setWidth("100%");
            m_components.addComponent(checkbox);
            m_componentCheckboxes.add(checkbox);
            m_componentMap.put(component.getId(), component);

        }
    }
1017385
public void initFormValues(CmsSearchReplaceSettings settings) {

        m_siteSelect.setValue(settings.getSiteRoot());
        m_ignoreSubSites.setValue(new Boolean(settings.ignoreSubSites()));
        m_searchType.setValue(settings.getType());
        if (!settings.getPaths().isEmpty()) {
            m_searchRoot.setValue(settings.getPaths().get(0));
        }
        if (CmsStringUtil.isNotEmptyOrWhitespaceOnly(settings.getTypes())) {
            try {
                I_CmsResourceType type = OpenCms.getResourceManager().getResourceType(settings.getTypes());
                m_resourceType.setValue(type);
            } catch (CmsLoaderException e) {
                // nothing to do, skip setting the type
            }
        }
        m_searchPattern.setValue(settings.getSearchpattern());
        m_ignoreSubSites.setValue(new Boolean(settings.ignoreSubSites()));
        if (settings.getType().isContentValuesOnly()) {
            if (settings.getLocale() != null) {
                m_locale.setValue(settings.getLocale());
            }
            m_xPath.setValue(settings.getXpath());
        }
        if (settings.getType().isSolrSearch()) {
            m_solrQuery.setValue(settings.getQuery());
            m_searchIndex.setValue(settings.getSource());
        }

        if (settings.getType().isPropertySearch()) {
            m_property.select(settings.getProperty());
        }
        if (settings.getType().equals(SearchType.resourcetype)) {
            try {
                CmsObject cms = OpenCms.initCmsObject(A_CmsUI.getCmsObject());
                cms.getRequestContext().setSiteRoot("");
                m_resourceSearch.setValue(
                    cms.readResource(
                        new CmsUUID(
                            settings.getSearchpattern().substring(
                                settings.getSearchpattern().indexOf("<uuid>") + 6,
                                settings.getSearchpattern().indexOf("</uuid>")))).getRootPath());
            } catch (CmsException e) {
                LOG.error("Unable to read resource", e);
            }

        }
    }