bindings.put("canary.defaultMetricsAccount", canary.getDefaultMetricsAccount()); bindings.put("canary.defaultStorageAccount", canary.getDefaultStorageAccount()); bindings.put("canary.defaultJudge", canary.getDefaultJudge()); bindings.put("canary.defaultMetricsStore", canary.getDefaultMetricsStore()); bindings.put("canary.stages", canary.isStagesEnabled());
bindings.put("canary.defaultMetricsAccount", canary.getDefaultMetricsAccount()); bindings.put("canary.defaultStorageAccount", canary.getDefaultStorageAccount()); bindings.put("canary.defaultJudge", canary.getDefaultJudge()); bindings.put("canary.defaultMetricsStore", canary.getDefaultMetricsStore()); bindings.put("canary.stages", canary.isStagesEnabled());
canary.setDefaultMetricsAccount(isSet(defaultMetricsAccount) ? defaultMetricsAccount : canary.getDefaultMetricsAccount()); canary.setDefaultStorageAccount(isSet(defaultStorageAccount) ? defaultStorageAccount : canary.getDefaultStorageAccount()); canary.setDefaultJudge(isSet(defaultJudge) ? defaultJudge : canary.getDefaultJudge()); canary.setDefaultMetricsStore(isSet(defaultMetricsStore) ? defaultMetricsStore: canary.getDefaultMetricsStore()); canary.setStagesEnabled(isSet(stagesEnabled) ? stagesEnabled : canary.isStagesEnabled());
canary.setDefaultMetricsAccount(isSet(defaultMetricsAccount) ? defaultMetricsAccount : canary.getDefaultMetricsAccount()); canary.setDefaultStorageAccount(isSet(defaultStorageAccount) ? defaultStorageAccount : canary.getDefaultStorageAccount()); canary.setDefaultJudge(isSet(defaultJudge) ? defaultJudge : canary.getDefaultJudge()); canary.setDefaultMetricsStore(isSet(defaultMetricsStore) ? defaultMetricsStore: canary.getDefaultMetricsStore()); canary.setStagesEnabled(isSet(stagesEnabled) ? stagesEnabled : canary.isStagesEnabled());