feature #I8PL2M EL语句里可以设置重试次数,类似于EL中的超时时间
This commit is contained in:
parent
f58c859f65
commit
8ed6bcff29
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue