Search in sources :

Example 1 with DefaultSetting

use of com.dtstack.taier.develop.utils.develop.sync.template.DefaultSetting in project Taier by DTStack.

the class DatasourceService method putDefaultEmptyValueForSetting.

private Setting putDefaultEmptyValueForSetting(Setting setting) {
    DefaultSetting defaultSetting = (DefaultSetting) setting;
    defaultSetting.setSpeed(1.0);
    defaultSetting.setRecord(0);
    defaultSetting.setPercentage(0.0);
    return defaultSetting;
}
Also used : DefaultSetting(com.dtstack.taier.develop.utils.develop.sync.template.DefaultSetting)

Aggregations

DefaultSetting (com.dtstack.taier.develop.utils.develop.sync.template.DefaultSetting)1