Package org.exoplatform.webconferencing
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 Summary
Constructors Constructor Description ContextInfo(String containerName, String spaceId, String roomTitle, String cometdPath, String cometdToken, Set<CallProviderConfiguration> providersConfig)Instantiates a new context info.ContextInfo(String containerName, String spaceId, String roomTitle, Set<CallProviderConfiguration> providersConfig)Instantiates a new context info.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddMessages(Map<String,String> localeResources)Adds the localized messages.StringgetCometdPath()Gets the cometd path (optional).StringgetCometdToken()Gets the cometd token.StringgetContainerName()Gets the container name.Map<String,String>getMessages()Gets the localized messages.Set<CallProviderConfiguration>getProvidersConfig()Gets the providers config.StringgetRoomTitle()Gets the room title.StringgetSpaceId()Gets the space id.
-
-
-
Constructor Detail
-
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 namespaceId- the space idroomTitle- the room namecometdPath- the cometd pathcometdToken- the cometd tokenprovidersConfig- the providers config
-
ContextInfo
public ContextInfo(String containerName, String spaceId, String roomTitle, Set<CallProviderConfiguration> providersConfig)
Instantiates a new context info.- Parameters:
containerName- the container namespaceId- the space idroomTitle- the room nameprovidersConfig- the providers config
-
-
Method Detail
-
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
-
-