Update Event.java and LogEvent.java javadoc

This commit is contained in:
JeremyStar™ 2024-06-09 22:18:37 +02:00
parent 7147ab3a5a
commit 7c391ecf8d
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D
2 changed files with 5 additions and 2 deletions

View file

@ -8,7 +8,7 @@ package de.staropensource.sosengine.base.classes;
@SuppressWarnings({ "unused" }) @SuppressWarnings({ "unused" })
public interface Event { public interface Event {
/** /**
* Calls the event. * Calls the event and notifies all annotated methods.
*/ */
void callEvent(); void callEvent();
} }

View file

@ -45,8 +45,11 @@ public final class LogEvent implements Event {
public void callEvent() {} public void callEvent() {}
/** /**
* Calls the event and notifies all annotated methods about it. * Calls the event and notifies all annotated methods.
* *
* @param level the log level
* @param logIssuer the log issuer
* @param message the log message
* @since 1-alpha0 * @since 1-alpha0
*/ */
public void callEvent(@NotNull LogLevel level, @NotNull LogIssuer logIssuer, @NotNull String message) { public void callEvent(@NotNull LogLevel level, @NotNull LogIssuer logIssuer, @NotNull String message) {