feature #I8PL2M EL语句里可以设置重试次数,类似于EL中的超时时间

This commit is contained in:
everywhere.z 2024-04-10 16:49:42 +08:00
parent f58c859f65
commit 8ed6bcff29
2 changed files with 6 additions and 0 deletions

View File

@ -80,6 +80,7 @@ public class LiteflowConfig {
private Boolean supportMultipleType;
// 重试次数
@Deprecated
private Integer retryCount;
// 节点执行器的类全名
@ -264,6 +265,7 @@ public class LiteflowConfig {
this.supportMultipleType = supportMultipleType;
}
@Deprecated
public Integer getRetryCount() {
if (ObjectUtil.isNull(retryCount) || retryCount < 0) {
return 0;
@ -273,6 +275,7 @@ public class LiteflowConfig {
}
}
@Deprecated
public void setRetryCount(Integer retryCount) {
this.retryCount = retryCount;
}

View File

@ -63,6 +63,7 @@ public class LiteflowProperty {
private boolean supportMultipleType;
// 重试次数
@Deprecated
private int retryCount;
// 是否打印liteflow banner
@ -171,10 +172,12 @@ public class LiteflowProperty {
this.supportMultipleType = supportMultipleType;
}
@Deprecated
public int getRetryCount() {
return retryCount;
}
@Deprecated
public void setRetryCount(int retryCount) {
this.retryCount = retryCount;
}