mirror of
https://gitee.com/dromara/liteFlow.git
synced 2026-05-14 12:12:08 +08:00
代码优化
This commit is contained in:
@@ -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 {
|
||||
|
||||
|
||||
@@ -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> {
|
||||
|
||||
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user