代码优化

This commit is contained in:
rain
2024-01-30 15:51:35 +08:00
parent 82348cb926
commit bed132b25a
3 changed files with 12 additions and 1 deletions

View File

@@ -12,6 +12,11 @@ import java.lang.annotation.*;
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
/**
* This class has been deprecated due to its only component retry function. Please use the retry method in the EL expression.
* @Deprecated
* @see # retry(int retryTimes) e.g. THEN( a, b.retry(3) ); WHEN( a, b ).retry(3);
*/
@Deprecated
public @interface LiteflowRetry {

View File

@@ -9,7 +9,7 @@ import com.yomahub.liteflow.flow.element.condition.RetryCondition;
/**
*
* @author Rain
* @since 2.11.5
* @since 2.12.0
*
*/
public class RetryOperator extends BaseOperator<Condition> {

View File

@@ -14,6 +14,12 @@ import com.yomahub.liteflow.slot.DataBus;
import java.util.Arrays;
import java.util.List;
/**
*
* @author Rain
* @since 2.12.0
*
*/
public class RetryCondition extends ThenCondition{
private final LFLog LOG = LFLoggerManager.getLogger(this.getClass());