Class SpigotSchedulerConfiguration
java.lang.Object
tech.guilhermekaua.spigotboot.core.spigot.scheduler.SpigotSchedulerConfiguration
Registers the platform
PlatformScheduler. Guarded by @ConditionalOnMissingBean
so a plugin may register its own implementation.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SpigotSchedulerConfiguration
public SpigotSchedulerConfiguration()
-
-
Method Details
-
platformScheduler
- Parameters:
plugin- the host plugin- Returns:
- the
PlatformSchedulerfor the running server — Folia-aware when the modern scheduler API is present, otherwise a legacy Bukkit-backed implementation
-