All Downloads are FREE. Search and download functionalities are using the official Maven repository.

spring.turbo.bean.condition.ConditionalOnSpringTurboModules Maven / Gradle / Ivy

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 *    ____             _            _____           _
 *   / ___| _ __  _ __(_)_ __   __ |_   _|   _ _ __| |__   ___
 *   \___ \| '_ \| '__| | '_ \ / _` || || | | | '__| '_ \ / _ \
 *    ___) | |_) | |  | | | | | (_| || || |_| | |  | |_) | (_) |
 *   |____/| .__/|_|  |_|_| |_|\__, ||_| \__,_|_|  |_.__/ \___/
 *         |_|                 |___/   https://github.com/yingzhuo/spring-turbo
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
package spring.turbo.bean.condition;

import org.springframework.context.annotation.Conditional;
import org.springframework.core.annotation.AliasFor;
import spring.turbo.core.Logic;

import java.lang.annotation.*;

/**
 * @author 应卓
 * @see spring.turbo.SpringTurboModules
 * @since 2.0.13
 */
@Inherited
@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Conditional(ConditionalOnSpringTurboModulesCondition.class)
public @interface ConditionalOnSpringTurboModules {

    @AliasFor("modules")
    public String[] value() default {};

    @AliasFor("value")
    public String[] modules() default {};

    public Logic logic() default Logic.ANY;

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy