code: private void initDeployScoreChildrenSettings(DeployScoreSettings deployScoreSettings) {
      ScoreComponentSettings deploySuccessSettings = Utils.getInstanceIfNull(deployScoreSettings.getDeploySuccess(), ScoreComponentSettings.class);
      deploySuccessSettings.setCriteria(
        Utils.mergeCriteria(deployScoreSettings.getCriteria(), deploySuccessSettings.getCriteria())
      );
      deployScoreSettings.setDeploySuccess(deploySuccessSettings);
  
      ScoreComponentSettings instanceOnlineSettings = Utils.getInstanceIfNull(deployScoreSettings.getIntancesOnline(), ScoreComponentSettings.class);
      instanceOnlineSettings.setCriteria(
        Utils.mergeCriteria(deployScoreSettings.getCriteria(), instanceOnlineSettings.getCriteria())
      );
      deployScoreSettings.setIntancesOnline(instanceOnlineSettings);
  
    }
docs: Initialize Settings for child components in deploy widget
  1. Deploys Success criteria settings
  2. Instances Online criteria settings
  @param deployScoreSettings