Fix Maven plugin versions for sources and Javadoc, fix <ul> in Javadoc
This commit is contained in:
parent
ba06b49368
commit
001c0eea7e
2
pom.xml
2
pom.xml
@ -63,6 +63,7 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-source-plugin</artifactId>
|
<artifactId>maven-source-plugin</artifactId>
|
||||||
|
<version>3.2.1</version>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>attach-sources</id>
|
<id>attach-sources</id>
|
||||||
@ -75,6 +76,7 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-javadoc-plugin</artifactId>
|
<artifactId>maven-javadoc-plugin</artifactId>
|
||||||
|
<version>3.2.0</version>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>attach-javadocs</id>
|
<id>attach-javadocs</id>
|
||||||
|
@ -10,11 +10,12 @@ import java.lang.annotation.*;
|
|||||||
* comply with the following specifications:
|
* comply with the following specifications:
|
||||||
* <ul>
|
* <ul>
|
||||||
* <li>Declared inside a class that implements {@link EventListener}</li>
|
* <li>Declared inside a class that implements {@link EventListener}</li>
|
||||||
* <li>Specifying an event type by either</li>
|
* <li>Specifying an event type by either
|
||||||
* <ul>
|
* <ul>
|
||||||
* <li>Declaring one parameter of a type that implements {@link IEvent}</li>
|
* <li>Declaring one parameter of a type that implements {@link IEvent}</li>
|
||||||
* <li>Defining the class of the event using the {@link Event#eventType()} value</li>
|
* <li>Defining the class of the event using the {@link Event#eventType()} value</li>
|
||||||
* </ul>
|
* </ul>
|
||||||
|
* </li>
|
||||||
* <li>Return type of {@code void}</li>
|
* <li>Return type of {@code void}</li>
|
||||||
* </ul>
|
* </ul>
|
||||||
*
|
*
|
||||||
@ -32,6 +33,7 @@ public @interface Event {
|
|||||||
* <p>
|
* <p>
|
||||||
* The execution order of handlers with the same priority is undefined.
|
* The execution order of handlers with the same priority is undefined.
|
||||||
*
|
*
|
||||||
|
* @return the priority of the event handler
|
||||||
* @since 0.0.1
|
* @since 0.0.1
|
||||||
*/
|
*/
|
||||||
int priority() default 100;
|
int priority() default 100;
|
||||||
@ -39,6 +41,7 @@ public @interface Event {
|
|||||||
/**
|
/**
|
||||||
* Defines whether instances of subtypes of the event type are dispatched to the event handler.
|
* Defines whether instances of subtypes of the event type are dispatched to the event handler.
|
||||||
*
|
*
|
||||||
|
* @return whether the event handler includes subtypes
|
||||||
* @since 0.0.4
|
* @since 0.0.4
|
||||||
*/
|
*/
|
||||||
boolean includeSubtypes() default false;
|
boolean includeSubtypes() default false;
|
||||||
@ -49,6 +52,7 @@ public @interface Event {
|
|||||||
* <p>
|
* <p>
|
||||||
* This is useful when the event handler does not utilize the event instance.
|
* This is useful when the event handler does not utilize the event instance.
|
||||||
*
|
*
|
||||||
|
* @return the event type accepted by the handler
|
||||||
* @since 0.0.3
|
* @since 0.0.3
|
||||||
*/
|
*/
|
||||||
Class<? extends IEvent> eventType() default USE_PARAMETER.class;
|
Class<? extends IEvent> eventType() default USE_PARAMETER.class;
|
||||||
|
Loading…
Reference in New Issue
Block a user