diff --git a/liteflow-core/src/main/java/com/yomahub/liteflow/builder/entity/ExecutableEntity.java b/liteflow-core/src/main/java/com/yomahub/liteflow/builder/entity/ExecutableEntity.java deleted file mode 100644 index 46e59759d..000000000 --- a/liteflow-core/src/main/java/com/yomahub/liteflow/builder/entity/ExecutableEntity.java +++ /dev/null @@ -1,65 +0,0 @@ -package com.yomahub.liteflow.builder.entity; - -import cn.hutool.core.collection.CollUtil; - -import java.util.ArrayList; -import java.util.List; - -/** - *
- *  执行器的实体类
- * 
- * - * @author sikadai - * @version 2.6.11 - * @since 2022/3/13 15:28 - */ -public class ExecutableEntity { - private String id; - private String tag; - private List 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 getNodeCondComponents() { - return nodeCondComponents; - } - - public ExecutableEntity setNodeCondComponents(List 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; - } -} diff --git a/liteflow-testcase-el/liteflow-testcase-el-declare-multi-springboot/src/test/java/com/yomahub/liteflow/test/builder/BuilderELDeclMultiSpringbootTest1.java b/liteflow-testcase-el/liteflow-testcase-el-declare-multi-springboot/src/test/java/com/yomahub/liteflow/test/builder/BuilderELDeclMultiSpringbootTest1.java index d09596292..eaf6135a9 100644 --- a/liteflow-testcase-el/liteflow-testcase-el-declare-multi-springboot/src/test/java/com/yomahub/liteflow/test/builder/BuilderELDeclMultiSpringbootTest1.java +++ b/liteflow-testcase-el/liteflow-testcase-el-declare-multi-springboot/src/test/java/com/yomahub/liteflow/test/builder/BuilderELDeclMultiSpringbootTest1.java @@ -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; diff --git a/liteflow-testcase-el/liteflow-testcase-el-nospring/src/test/java/com/yomahub/liteflow/test/builder/BuilderTest.java b/liteflow-testcase-el/liteflow-testcase-el-nospring/src/test/java/com/yomahub/liteflow/test/builder/BuilderTest.java index 8fc172c81..71e413034 100644 --- a/liteflow-testcase-el/liteflow-testcase-el-nospring/src/test/java/com/yomahub/liteflow/test/builder/BuilderTest.java +++ b/liteflow-testcase-el/liteflow-testcase-el-nospring/src/test/java/com/yomahub/liteflow/test/builder/BuilderTest.java @@ -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;