Package org.exoplatform.webconferencing
Class ContextInfo
java.lang.Object
org.exoplatform.webconferencing.ContextInfo
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
ConstructorsConstructorDescriptionContextInfo(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
Modifier and TypeMethodDescriptionvoidaddMessages(Map<String, String> localeResources) Adds the localized messages.Gets the cometd path (optional).Gets the cometd token.Gets the container name.Gets the localized messages.Gets the providers config.Gets the room title.Gets the space id.
-
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 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 Details
-
getContainerName
Gets the container name.- Returns:
- the container name
-
getCometdPath
Gets the cometd path (optional).- Returns:
- the cometd path, can be
null
-
getCometdToken
Gets the cometd token.- Returns:
- the cometd token
-
getSpaceId
Gets the space id.- Returns:
- the space id
-
getRoomTitle
Gets the room title.- Returns:
- the room title
-
getProvidersConfig
Gets the providers config.- Returns:
- the providers config
-
getMessages
Gets the localized messages.- Returns:
- the locale resources
-
addMessages
Adds the localized messages.- Parameters:
localeResources- the locale resources
-