Stuart McCulloch | f317322 | 2012-06-07 21:57:32 +0000 | [diff] [blame] | 1 | package aQute.bnd.annotation; |
| 2 | |
| 3 | import java.lang.annotation.*; |
| 4 | |
| 5 | @Retention(RetentionPolicy.CLASS) |
| 6 | @Target(ElementType.PACKAGE) |
| 7 | public @interface Export { |
Stuart McCulloch | 4482c70 | 2012-06-15 13:27:53 +0000 | [diff] [blame] | 8 | String MANDATORY = "mandatory"; |
| 9 | String OPTIONAL = "optional"; |
| 10 | String USES = "uses"; |
| 11 | String EXCLUDE = "exclude"; |
| 12 | String INCLUDE = "include"; |
Stuart McCulloch | f317322 | 2012-06-07 21:57:32 +0000 | [diff] [blame] | 13 | |
Stuart McCulloch | 4482c70 | 2012-06-15 13:27:53 +0000 | [diff] [blame] | 14 | String[] mandatory() default ""; |
Stuart McCulloch | f317322 | 2012-06-07 21:57:32 +0000 | [diff] [blame] | 15 | |
Stuart McCulloch | 4482c70 | 2012-06-15 13:27:53 +0000 | [diff] [blame] | 16 | String[] optional() default ""; |
Stuart McCulloch | f317322 | 2012-06-07 21:57:32 +0000 | [diff] [blame] | 17 | |
Stuart McCulloch | 4482c70 | 2012-06-15 13:27:53 +0000 | [diff] [blame] | 18 | Class< ? >[] exclude() default Object.class; |
Stuart McCulloch | f317322 | 2012-06-07 21:57:32 +0000 | [diff] [blame] | 19 | |
Stuart McCulloch | 4482c70 | 2012-06-15 13:27:53 +0000 | [diff] [blame] | 20 | Class< ? >[] include() default Object.class; |
Stuart McCulloch | f317322 | 2012-06-07 21:57:32 +0000 | [diff] [blame] | 21 | } |