
com.yomahub.liteflow.annotation.LiteflowRetry Maven / Gradle / Ivy
The newest version!
package com.yomahub.liteflow.annotation;
import java.lang.annotation.*;
/**
* LiteFlow组件重试次数
*
* @author Bryan.Zhang
* @since 2.6.0
*/
@Target({ ElementType.TYPE, ElementType.METHOD })
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
@Deprecated
/**
* 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);
*/
public @interface LiteflowRetry {
@LFAliasFor("retry")
int value() default 0;
@LFAliasFor("value")
int retry() default 0;
Class extends Exception>[] forExceptions() default { Exception.class };
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy