Interface ClientComponent<C>

Type Parameters:
C - the type of the client a ClientComponent can belong to.
All Known Implementing Classes:
AbstractSession, AbstractWebClientSession, TestSession, UnderConstructionPageSession, WebClientSession

public interface ClientComponent<C>
A ClientComponent can belong to a client.
Author:
Silvan Wyss
  • Method Details

    • belongsToClient

      boolean belongsToClient()
      Returns:
      true if the current ClientComponent belongs to a client, false otherwise.
    • getStoredParentClient

      C getStoredParentClient()
      Returns:
      the client of the current ClientComponent.
      Throws:
      RuntimeException - if the current ClientComponent does not belong to a client.