Fix Javadoc generation issues
This commit is contained in:
parent
51a51a6271
commit
e12597e834
6 changed files with 42 additions and 0 deletions
|
@ -42,9 +42,19 @@ public final class EngineBootstrapper {
|
|||
*/
|
||||
private static final LoggerInstance logger = new LoggerInstance.Builder().setClazz(EngineBootstrapper.class).setOrigin("ENGINEMC").build();
|
||||
|
||||
/**
|
||||
* Constructs this class.
|
||||
*
|
||||
* @since v1-alpha0
|
||||
*/
|
||||
public EngineBootstrapper() {}
|
||||
|
||||
/**
|
||||
* Initializes the engine and environment.
|
||||
*
|
||||
* @param disableMultithreading disables multithreading support (except for logging), if enabled
|
||||
* @param shutdownHandler {@link ShutdownHandler} implementation, which should ideally shutdown the server
|
||||
* @param loggingAdapter {@link LoggingAdapter} implementation, for printing log messages into the server console
|
||||
* @since v1-alpha0
|
||||
*/
|
||||
public static void initialize(boolean disableMultithreading, @NotNull ShutdownHandler shutdownHandler, @NotNull LoggingAdapter loggingAdapter) {
|
||||
|
|
|
@ -32,16 +32,26 @@ import org.jetbrains.annotations.NotNull;
|
|||
*/
|
||||
@EngineSubsystem
|
||||
public final class MinecraftSubsystem extends SubsystemClass {
|
||||
/**
|
||||
* Constructs this class.
|
||||
*
|
||||
* @since v1-alpha0
|
||||
*/
|
||||
public MinecraftSubsystem() {}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
@Override
|
||||
public @NotNull String getName() {
|
||||
return "minecraft";
|
||||
}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
@Override
|
||||
public void initializeSubsystem() {
|
||||
SubsystemInformation.update();
|
||||
}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
@Override
|
||||
public @NotNull DependencyVector getDependencyVector() throws IllegalStateException {
|
||||
if (SubsystemInformation.getVersioningString() == null)
|
||||
|
|
|
@ -36,6 +36,13 @@ import java.util.concurrent.TimeUnit;
|
|||
* @since v1-alpha0
|
||||
*/
|
||||
public class Command {
|
||||
/**
|
||||
* Constructs this class.
|
||||
*
|
||||
* @since v1-alpha0
|
||||
*/
|
||||
public Command() {}
|
||||
|
||||
/**
|
||||
* Executes the command.
|
||||
*
|
||||
|
|
|
@ -39,6 +39,7 @@ public abstract class Player {
|
|||
/**
|
||||
* Sends a message to the player.
|
||||
*
|
||||
* @param message message to send
|
||||
* @since v1-alpha0
|
||||
*/
|
||||
public abstract void message(@NotNull Component message);
|
||||
|
|
|
@ -30,6 +30,13 @@ import org.jetbrains.annotations.Nullable;
|
|||
* A {@link LoggingAdapter} for the Bukkit API.
|
||||
*/
|
||||
public class BukkitLoggingAdapter implements LoggingAdapter {
|
||||
/**
|
||||
* Constructs this class.
|
||||
*
|
||||
* @since v1-alpha0
|
||||
*/
|
||||
public BukkitLoggingAdapter() {}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
@Override
|
||||
public @Nullable String prePlaceholder(@NotNull LogLevel level, @NotNull Class<?> issuerClass, @NotNull String issuerOrigin, @Nullable String issuerMetadata, @NotNull String message, @NotNull String format) {
|
||||
|
|
|
@ -30,6 +30,13 @@ import org.jetbrains.annotations.NotNull;
|
|||
* @since v1-alpha0
|
||||
*/
|
||||
public class BukkitCommand implements CommandExecutor {
|
||||
/**
|
||||
* Constructs this class.
|
||||
*
|
||||
* @since v1-alpha0
|
||||
*/
|
||||
public BukkitCommand() {}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
@Override
|
||||
public boolean onCommand(@NotNull CommandSender sender, @NotNull org.bukkit.command.Command command, @NotNull String alias, @NotNull String[] arguments) {
|
||||
|
|
Loading…
Reference in a new issue