Pulling all pending Bukkit-JavaDoc changes

By: Edmond Poon <sagaciouszzzz@gmail.com>
This commit is contained in:
Bukkit/Spigot
2013-03-27 21:12:08 -04:00
parent 572159a4fa
commit 3fe7d8585e
3 changed files with 23 additions and 3 deletions

View File

@@ -11,7 +11,27 @@ import java.lang.annotation.Target;
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface EventHandler {
/**
* Define the priority of the event.
* <p />
* First priority to the last priority executed:
* <ol>
* <li>LOWEST</li>
* <li>LOW</li>
* <li>NORMAL</li>
* <li>HIGH</li>
* <li>HIGHEST</li>
* <li>MONITOR</li>
* </ol>
*/
EventPriority priority() default EventPriority.NORMAL;
/**
* Define if the handler ignores a cancelled event.
* <p />
* If ignoreCancelled is true and the event is cancelled, the method is
* not called. Otherwise, the method is always called.
*/
boolean ignoreCancelled() default false;
}