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 ; }
Generate Score Criteria Settings from Score Settings