1 |
35584
|
michele.ar
|
package eu.dnetlib.enabling.annotations;
|
2 |
34542
|
michele.ar
|
|
3 |
|
|
import java.lang.annotation.ElementType;
|
4 |
|
|
import java.lang.annotation.Retention;
|
5 |
|
|
import java.lang.annotation.RetentionPolicy;
|
6 |
|
|
import java.lang.annotation.Target;
|
7 |
|
|
|
8 |
35584
|
michele.ar
|
import eu.dnetlib.rmi.objects.is.DnetResourceFormat;
|
9 |
|
|
import eu.dnetlib.rmi.objects.is.DnetResourceKind;
|
10 |
34542
|
michele.ar
|
|
11 |
|
|
@Retention(RetentionPolicy.RUNTIME)
|
12 |
|
|
@Target(ElementType.TYPE)
|
13 |
|
|
public @interface DnetResource {
|
14 |
|
|
|
15 |
|
|
String type();
|
16 |
|
|
|
17 |
34762
|
michele.ar
|
DnetResourceKind kind() default DnetResourceKind.CONFIGURATION;
|
18 |
34542
|
michele.ar
|
|
19 |
|
|
DnetResourceFormat format() default DnetResourceFormat.JSON;
|
20 |
|
|
}
|