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

com.github.cloudyrock.dimmer.DimmerFeature Maven / Gradle / Ivy

package com.github.cloudyrock.dimmer;

import com.github.cloudyrock.dimmer.exceptions.DimmerInvocationException;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Annotation containing the feature configuration for a method.
 *
 * @author Antonio Perez Dieppa
 * @see DimmerProcessor
 * @see FeatureInvocation
 * @see DimmerInvocationException
 *
 * @author Antonio Perez Dieppa
 * @since 11/06/2018
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface DimmerFeature {

    /**
     * Indicates the feature, configured via (@{@link DimmerProcessor}), that describes
     * the behaviour instead of invoking the real method
     *
     * @see DimmerProcessor
     * @return feature
     */
    String value();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy