Commit b06605327ad06ae0e9f3f726b1d971c6bc2bf10c
1 parent
134f0dbe
Exists in
master
Adição de javadoc para classe
br.gov.frameworkdemoiselle.annotation.Ignore
Showing
1 changed file
with
9 additions
and
0 deletions
Show diff stats
impl/core/src/main/java/br/gov/frameworkdemoiselle/annotation/Ignore.java
| @@ -42,6 +42,15 @@ import static java.lang.annotation.RetentionPolicy.RUNTIME; | @@ -42,6 +42,15 @@ import static java.lang.annotation.RetentionPolicy.RUNTIME; | ||
| 42 | import java.lang.annotation.Retention; | 42 | import java.lang.annotation.Retention; |
| 43 | import java.lang.annotation.Target; | 43 | import java.lang.annotation.Target; |
| 44 | 44 | ||
| 45 | +/** | ||
| 46 | + * <p> | ||
| 47 | + * Should be used only in attributes of configuration classes (those annotated with @Configuration). | ||
| 48 | + * </p> | ||
| 49 | + * When an attribute in a configuration class is annotated with @Ignore, that attribute is not | ||
| 50 | + * </br>considerated in loading of configurations. | ||
| 51 | + * | ||
| 52 | + * @author SERPRO | ||
| 53 | + */ | ||
| 45 | @Target(FIELD) | 54 | @Target(FIELD) |
| 46 | @Retention(RUNTIME) | 55 | @Retention(RUNTIME) |
| 47 | public @interface Ignore { | 56 | public @interface Ignore { |