/
App.java
71 lines (61 loc) · 1.28 KB
/
App.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
package net.ME1312.Galaxi.Plugin;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* App Class Annotation<br>
* Classes annotated with this will <b>not</b> be loaded as plugins when found
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface App {
/**
* The Name of the App
*
* @return App Name
*/
String name();
/**
* The Display Name of the App
*
* @return App Display Name
*/
String display() default "";
/**
* The Version of this Plugin
*
* @return App Version
*/
String version();
/**
* The Build Signature of the App
*
* @return Build Signature
*/
String signature() default "";
/**
* The State of the App
*
* @return App State
*/
String state() default "";
/**
* The Authors of the App
*
* @return Authors List
*/
String[] authors();
/**
* The Description of the App
*
* @return Plugin Description
*/
String description() default "";
/**
* The Authors' Website
*
* @return Authors' Website
*/
String website() default "";
}