blob: 06e3f5b14504f179c1adbb44042da08ad23cb8fa (
plain)
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
|
package org.bukkit.plugin.java.annotation.dependency;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Repeatable;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Part of the plugin annotations framework.
* <p>
* Represents the plugin this plugin should be loaded before
* <br>
* The plugin's <b>name</b> attribute is required in order to specify the target. <br>
* The plugin listed will be treated as a {@link SoftDependency}. <br>
*/
@Documented
@Retention(RetentionPolicy.SOURCE)
@Target(ElementType.TYPE)
@Repeatable(LoadBeforePlugins.class)
public @interface LoadBefore {
/**
* A plugin that should be loaded after your plugin
*/
String value();
}
|