删除ExecutableEntity这个类,这个类为老表达式中的解析对象
This commit is contained in:
parent
e5b35e4e00
commit
b8eaeda490
|
@ -1,65 +0,0 @@
|
|||
package com.yomahub.liteflow.builder.entity;
|
||||
|
||||
import cn.hutool.core.collection.CollUtil;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
* 执行器的实体类
|
||||
* </pre>
|
||||
*
|
||||
* @author sikadai
|
||||
* @version 2.6.11
|
||||
* @since 2022/3/13 15:28
|
||||
*/
|
||||
public class ExecutableEntity {
|
||||
private String id;
|
||||
private String tag;
|
||||
private List<ExecutableEntity> nodeCondComponents;
|
||||
|
||||
public ExecutableEntity() {
|
||||
|
||||
}
|
||||
|
||||
public ExecutableEntity(String id, String tag) {
|
||||
this.id = id;
|
||||
this.tag = tag;
|
||||
}
|
||||
|
||||
public String getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public ExecutableEntity setId(String id) {
|
||||
this.id = id;
|
||||
return this;
|
||||
}
|
||||
|
||||
public String getTag() {
|
||||
return tag;
|
||||
}
|
||||
|
||||
public ExecutableEntity setTag(String tag) {
|
||||
this.tag = tag;
|
||||
return this;
|
||||
}
|
||||
|
||||
public List<ExecutableEntity> getNodeCondComponents() {
|
||||
return nodeCondComponents;
|
||||
}
|
||||
|
||||
public ExecutableEntity setNodeCondComponents(List<ExecutableEntity> nodeCondComponents) {
|
||||
this.nodeCondComponents = nodeCondComponents;
|
||||
return this;
|
||||
}
|
||||
|
||||
public ExecutableEntity addNodeCondComponent(ExecutableEntity conditionNodeEntity) {
|
||||
if (CollUtil.isEmpty(this.nodeCondComponents)) {
|
||||
this.nodeCondComponents = new ArrayList<>();
|
||||
}
|
||||
this.nodeCondComponents.add(conditionNodeEntity);
|
||||
return this;
|
||||
}
|
||||
}
|
|
@ -1,9 +1,7 @@
|
|||
package com.yomahub.liteflow.test.builder;
|
||||
|
||||
import com.yomahub.liteflow.builder.LiteFlowChainBuilder;
|
||||
import com.yomahub.liteflow.builder.LiteFlowNodeBuilder;
|
||||
import com.yomahub.liteflow.builder.el.LiteFlowChainELBuilder;
|
||||
import com.yomahub.liteflow.builder.entity.ExecutableEntity;
|
||||
import com.yomahub.liteflow.core.FlowExecutor;
|
||||
import com.yomahub.liteflow.enums.NodeTypeEnum;
|
||||
import com.yomahub.liteflow.flow.LiteflowResponse;
|
||||
|
|
|
@ -1,9 +1,7 @@
|
|||
package com.yomahub.liteflow.test.builder;
|
||||
|
||||
import com.yomahub.liteflow.builder.LiteFlowChainBuilder;
|
||||
import com.yomahub.liteflow.builder.LiteFlowNodeBuilder;
|
||||
import com.yomahub.liteflow.builder.el.LiteFlowChainELBuilder;
|
||||
import com.yomahub.liteflow.builder.entity.ExecutableEntity;
|
||||
import com.yomahub.liteflow.core.FlowExecutor;
|
||||
import com.yomahub.liteflow.core.FlowExecutorHolder;
|
||||
import com.yomahub.liteflow.enums.NodeTypeEnum;
|
||||
|
|
Loading…
Reference in New Issue