|
|
@ -11,7 +11,7 @@ import com.fr.design.utils.gui.GUICoreUtils; |
|
|
|
import com.fr.esd.common.CacheConstants; |
|
|
|
import com.fr.esd.common.CacheConstants; |
|
|
|
import com.fr.esd.core.strategy.config.StrategyConfig; |
|
|
|
import com.fr.esd.core.strategy.config.StrategyConfig; |
|
|
|
import com.fr.esd.core.strategy.config.StrategyConfigHelper; |
|
|
|
import com.fr.esd.core.strategy.config.StrategyConfigHelper; |
|
|
|
import com.fr.esd.util.Utils; |
|
|
|
import com.fr.esd.util.ESDUtils; |
|
|
|
import com.fr.locale.InterProviderFactory; |
|
|
|
import com.fr.locale.InterProviderFactory; |
|
|
|
import com.fr.log.FineLoggerFactory; |
|
|
|
import com.fr.log.FineLoggerFactory; |
|
|
|
import com.fr.stable.StringUtils; |
|
|
|
import com.fr.stable.StringUtils; |
|
|
@ -174,8 +174,8 @@ public class ESDStrategyConfigPane extends BasicBeanPane<StrategyConfig> { |
|
|
|
List<String> schemaTimes = new ArrayList<>(); |
|
|
|
List<String> schemaTimes = new ArrayList<>(); |
|
|
|
String text = this.schemaTime.getText(); |
|
|
|
String text = this.schemaTime.getText(); |
|
|
|
|
|
|
|
|
|
|
|
if (Utils.checkUpdateTimeSchema(text)) { |
|
|
|
if (ESDUtils.checkUpdateTimeSchema(text)) { |
|
|
|
if (Utils.isCronExpression(text)) { |
|
|
|
if (ESDUtils.isCronExpression(text)) { |
|
|
|
schemaTimes.add(text); |
|
|
|
schemaTimes.add(text); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
Collections.addAll(schemaTimes, text.split(",")); |
|
|
|
Collections.addAll(schemaTimes, text.split(",")); |
|
|
|