소스 검색

更改javadoc

everywhere.z 2 년 전
부모
커밋
ea27cf0ef6

+ 1 - 3
liteflow-core/src/main/java/com/yomahub/liteflow/context/ContextBean.java

@@ -5,11 +5,9 @@ import com.yomahub.liteflow.annotation.AliasFor;
 import java.lang.annotation.*;
 
 /**
- * @description 用于标注上下文bean的别名,以便在脚本或者组件中通过别名来获取上下文对象
+ * 用于标注上下文bean的别名,以便在脚本或者组件中通过别名来获取上下文对象
  * @since 2.9.7
  * @author Tingliang Wang
- * @createTime 2023/2/6 15:06
- * @update: [序号][日期YYYY-MM-DD] [更改人姓名][变更描述]
  */
 @Target({ElementType.TYPE})
 @Retention(RetentionPolicy.RUNTIME)

+ 1 - 2
liteflow-core/src/main/java/com/yomahub/liteflow/flow/element/condition/Condition.java

@@ -126,8 +126,7 @@ public abstract class Condition implements Executable{
 	}
 
 	/**
-	 * 
-	 * @deprecated 请使用 {@link #setCurrChainId(String)}
+	 * 请使用 {@link #setCurrChainId(String)}
 	 */
 	@Deprecated
 	public String getCurrChainName() {

+ 0 - 5
liteflow-core/src/main/java/com/yomahub/liteflow/flow/executor/NodeExecutor.java

@@ -21,8 +21,6 @@ public abstract class NodeExecutor {
 
     /**
      * 执行器执行入口-若需要更大维度的执行方式可以重写该方法
-     * @param instance
-     * @throws Exception
      */
     public void execute(NodeComponent instance) throws Exception {
         int retryCount = instance.getRetryCount();
@@ -53,9 +51,6 @@ public abstract class NodeExecutor {
 
     /**
      * 执行重试逻辑 - 子类通过实现该方法进行重试逻辑的控制
-     * @param instance
-     * @param currentRetryCount
-     * @throws Exception
      */
     protected void retry(NodeComponent instance, int currentRetryCount) throws Exception {
         Slot slot = DataBus.getSlot(instance.getSlotIndex());

+ 0 - 5
liteflow-core/src/main/java/com/yomahub/liteflow/util/LiteFlowProxyUtil.java

@@ -26,8 +26,6 @@ public class LiteFlowProxyUtil {
 
     /**
      * 判断一个bean是否是声明式组件
-     * @param clazz
-     * @return
      */
     public static boolean isDeclareCmp(Class<?> clazz) {
         //查看bean里的method是否有方法标记了@LiteflowMethod标注
@@ -41,9 +39,6 @@ public class LiteFlowProxyUtil {
 
     /**
      * 对一个满足声明式的bean进行代理,生成代理类数组
-     * @param bean
-     * @param nodeId
-     * @return
      */
     public static List<NodeComponent> proxy2NodeComponent(Object bean, String nodeId) {
         try {