1
|
package eu.dnetlib.enabling.annotations;
|
2
|
|
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
|
import eu.dnetlib.rmi.objects.is.DnetResourceFormat;
|
9
|
import eu.dnetlib.rmi.objects.is.DnetResourceKind;
|
10
|
|
11
|
@Retention(RetentionPolicy.RUNTIME)
|
12
|
@Target(ElementType.TYPE)
|
13
|
public @interface DnetResource {
|
14
|
|
15
|
String type();
|
16
|
|
17
|
DnetResourceKind kind() default DnetResourceKind.CONFIGURATION;
|
18
|
|
19
|
DnetResourceFormat format() default DnetResourceFormat.JSON;
|
20
|
}
|