Interface Caller

All Known Implementing Classes:
CallerImplementation

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

  • Method Details

    • updatePlayerData

      void updatePlayerData(UUID playerUUID, String playerName)
      Calls all player methods of the associated DataExtension.

      Player methods have UUID or String 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 associated DataExtension.

      Server methods have no parameters or Group method parameter and a Provider annotation.