summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/bukkit/plugin/java/annotation/Version.java
blob: 2d7ab6678e16bdfea4e465cd68f19bf6eed2a56d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package org.bukkit.plugin.java.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Target;

/**
 *  Part of the plugin annotations framework.
 *  <p>
 *  Represents the version of the plugin.
 *  <p>
 *  If not present in a class annotated with {@link Main} the name defaults to "v0.0" and will emmit a warning.
 */

@Target(ElementType.TYPE)
public @interface Version {

    public String value();

    public static final String DEFAULT_VERSION = "v0.0";
}