Class ContextInfo

java.lang.Object
org.exoplatform.webconferencing.ContextInfo

public class ContextInfo extends Object
A lightweight info about current Platform context: space, chat room etc. Created by The eXo Platform SAS
Version:
$Id: SpaceContextInfo.java 00000 Mar 30, 2017 pnedonosko $
Author:
Peter Nedonosko
  • Constructor Details

    • ContextInfo

      public ContextInfo(String containerName, String spaceId, String roomTitle, String cometdPath, String cometdToken, Set<CallProviderConfiguration> providersConfig)
      Instantiates a new context info.
      Parameters:
      containerName - the container name
      spaceId - the space id
      roomTitle - the room name
      cometdPath - the cometd path
      cometdToken - the cometd token
      providersConfig - the providers config
    • ContextInfo

      public ContextInfo(String containerName, String spaceId, String roomTitle, Set<CallProviderConfiguration> providersConfig)
      Instantiates a new context info.
      Parameters:
      containerName - the container name
      spaceId - the space id
      roomTitle - the room name
      providersConfig - the providers config
  • Method Details

    • getContainerName

      public String getContainerName()
      Gets the container name.
      Returns:
      the container name
    • getCometdPath

      public String getCometdPath()
      Gets the cometd path (optional).
      Returns:
      the cometd path, can be null
    • getCometdToken

      public String getCometdToken()
      Gets the cometd token.
      Returns:
      the cometd token
    • getSpaceId

      public String getSpaceId()
      Gets the space id.
      Returns:
      the space id
    • getRoomTitle

      public String getRoomTitle()
      Gets the room title.
      Returns:
      the room title
    • getProvidersConfig

      public Set<CallProviderConfiguration> getProvidersConfig()
      Gets the providers config.
      Returns:
      the providers config
    • getMessages

      public Map<String,String> getMessages()
      Gets the localized messages.
      Returns:
      the locale resources
    • addMessages

      public void addMessages(Map<String,String> localeResources)
      Adds the localized messages.
      Parameters:
      localeResources - the locale resources