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

name.remal.gradle_plugins.dsl.EnvironmentVariable Maven / Gradle / Ivy

There is a newer version: 1.9.2
Show newest version
package name.remal.gradle_plugins.dsl;

import static java.lang.annotation.ElementType.CONSTRUCTOR;
import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.PARAMETER;
import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.CLASS;

import java.lang.annotation.Documented;
import java.lang.annotation.Repeatable;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import org.gradle.api.Project;
import org.jetbrains.annotations.NotNull;

@Documented
@Repeatable(EnvironmentVariable.EnvironmentVariables.class)
@Target({TYPE, FIELD, METHOD, PARAMETER, CONSTRUCTOR})
@Retention(CLASS)
public @interface EnvironmentVariable {

    @NotNull String value();

    @NotNull String description() default "";

    @NotNull String pluginId() default "";

    @NotNull Class> pluginClass() default NotDefinedProjectPlugin.class;

    @NotNull String scope() default "";

    @NotNull Class conditionClass() default NotDefinedEnvironmentVariableCondition.class;

    @Documented
    @Target({TYPE, FIELD, METHOD, PARAMETER, CONSTRUCTOR})
    @Retention(CLASS)
    @interface EnvironmentVariables {

        @NotNull EnvironmentVariable[] value();

        @NotNull String description() default "";

        @NotNull String pluginId() default "";

        @NotNull Class> pluginClass() default NotDefinedProjectPlugin.class;

        @NotNull String scope() default "";

        @NotNull Class conditionClass() default NotDefinedEnvironmentVariableCondition.class;

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy