bindings.put("canary.defaultJudge", canary.getDefaultJudge()); bindings.put("canary.defaultMetricsStore", canary.getDefaultMetricsStore()); bindings.put("canary.stages", canary.isStagesEnabled()); bindings.put("canary.templatesEnabled", canary.isTemplatesEnabled()); bindings.put("canary.showAllCanaryConfigs", canary.isShowAllConfigsEnabled());
bindings.put("canary.defaultJudge", canary.getDefaultJudge()); bindings.put("canary.defaultMetricsStore", canary.getDefaultMetricsStore()); bindings.put("canary.stages", canary.isStagesEnabled()); bindings.put("canary.templatesEnabled", canary.isTemplatesEnabled()); bindings.put("canary.showAllCanaryConfigs", canary.isShowAllConfigsEnabled());
canary.setDefaultJudge(isSet(defaultJudge) ? defaultJudge : canary.getDefaultJudge()); canary.setDefaultMetricsStore(isSet(defaultMetricsStore) ? defaultMetricsStore: canary.getDefaultMetricsStore()); canary.setStagesEnabled(isSet(stagesEnabled) ? stagesEnabled : canary.isStagesEnabled()); canary.setAtlasWebComponentsUrl(isSet(atlasWebComponentsUrl) ? atlasWebComponentsUrl : canary.getAtlasWebComponentsUrl()); canary.setTemplatesEnabled(isSet(templatesEnabled) ? templatesEnabled : canary.isTemplatesEnabled());
canary.setDefaultJudge(isSet(defaultJudge) ? defaultJudge : canary.getDefaultJudge()); canary.setDefaultMetricsStore(isSet(defaultMetricsStore) ? defaultMetricsStore: canary.getDefaultMetricsStore()); canary.setStagesEnabled(isSet(stagesEnabled) ? stagesEnabled : canary.isStagesEnabled()); canary.setAtlasWebComponentsUrl(isSet(atlasWebComponentsUrl) ? atlasWebComponentsUrl : canary.getAtlasWebComponentsUrl()); canary.setTemplatesEnabled(isSet(templatesEnabled) ? templatesEnabled : canary.isTemplatesEnabled());