Interface ServerLoader

    • Method Detail

      • load

        java.util.Optional<Server> load​(ServerUUID serverUUID)
        Load the server information.
        Parameters:
        serverUUID - UUID of the server, null if not known
        Returns:
        Optional of the saved information or empty if it has not been stored.
        Throws:
        EnableException - When the loading fails
      • save

        void save​(Server information)
        Save the server information.
        Parameters:
        information - Information to save.
        Throws:
        EnableException - When the saving fails