Class CallerImplementation
java.lang.Object
com.djrapitops.plan.extension.implementation.CallerImplementation
- All Implemented Interfaces:
Caller
Implementation for
Caller
interface.-
Constructor Summary
ConstructorDescriptionCallerImplementation(DataValueGatherer gatherer, ExtensionSvc extensionService, Processing processing)
-
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
.
-
Constructor Details
-
CallerImplementation
public CallerImplementation(DataValueGatherer gatherer, ExtensionSvc extensionService, Processing processing)
-
-
Method Details
-
updatePlayerData
Description copied from interface:Caller
Calls all player methods of the associatedDataExtension
.Player methods have
UUID
orString
as a method parameter and a Provider annotation.- Specified by:
updatePlayerData
in interfaceCaller
- Parameters:
playerUUID
- UUID of the player.playerName
- Name of the player.
-
updateServerData
public void updateServerData()Description copied from interface:Caller
Calls all server methods of the associatedDataExtension
.Server methods have no parameters or
Group
method parameter and a Provider annotation.- Specified by:
updateServerData
in interfaceCaller
-