Package com.djrapitops.plan.extension
Interface Caller
public interface Caller
Interface for manually calling update methods on a registered
DataExtension
.
You can obtain an instance by registering an extension via ExtensionService.register(DataExtension)
.
Plan calls the methods in DataExtension based on CallEvents
defined by invalid input: '{@link /*missing*/}'
-
Method Summary
Modifier and TypeMethodDescriptionvoid
updatePlayerData
(UUID playerUUID, String playerName) Calls all player methods of the associatedDataExtension
.void
Calls all server methods of the associatedDataExtension
.
-
Method Details
-
updatePlayerData
Calls all player methods of the associatedDataExtension
.Player methods have
UUID
orString
as a method parameter and a Provider annotation.- Parameters:
playerUUID
- UUID of the player.playerName
- Name of the player.- Throws:
IllegalArgumentException
- If playerUUID AND playerName is null.
-
updateServerData
void updateServerData()Calls all server methods of the associatedDataExtension
.Server methods have no parameters or
Group
method parameter and a Provider annotation.
-