public abstract class CallProvider
extends org.exoplatform.container.component.BaseComponentPlugin
| Modifier and Type | Class and Description |
|---|---|
class |
CallProvider.Settings
Call Provider runtime Settings (for serialization in JSON to remote clients).
|
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
active
The active flag.
|
protected Map<String,String> |
config
The config.
|
static String |
CONFIG_PROVIDER_ACTIVE
The Constant CONFIG_PROVIDER_ACTIVE.
|
static String |
CONFIG_PROVIDER_CONFIGURATION
The Constant CONFIG_PROVIDER_CONFIGURATION.
|
static String |
CONFIG_PROVIDER_DESCRIPTION
The Constant CONFIG_PROVIDER_DESCRIPTION.
|
protected static String |
EMAIL_REGEX
The Constant EMAIL_REGEX.
|
protected Pattern |
emailTest
The email test.
|
| Constructor and Description |
|---|
CallProvider(org.exoplatform.container.xml.InitParams params)
Instantiates a new web conferencing provider.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getDescription()
Technical description for this provider.
|
String |
getDescription(Locale locale)
Gets the technical description for this provider.
|
abstract UserInfo.IMInfo |
getIMInfo(String imId)
Gets the
UserInfo.IMInfo instance for given IM identifier. |
abstract String[] |
getSupportedTypes()
Gets all types supported by this provider.
|
abstract String |
getTitle()
Gets human-readable name of this provider (e.g.
|
abstract String |
getType()
Gets the main type name of this provider (e.g.
|
abstract String |
getVersion()
Gets the version.
|
int |
hashCode() |
boolean |
isActive()
Checks if is active.
|
boolean |
isLogEnabled()
Checks if is remote log enabled for the provider.
|
boolean |
isSupportedType(String type)
Checks if it is a supported type by this provider.
|
public static final String CONFIG_PROVIDER_ACTIVE
public static final String CONFIG_PROVIDER_DESCRIPTION
public static final String CONFIG_PROVIDER_CONFIGURATION
protected static final String EMAIL_REGEX
protected final Pattern emailTest
protected boolean active
public CallProvider(org.exoplatform.container.xml.InitParams params)
throws org.exoplatform.container.configuration.ConfigurationException
params - the paramsorg.exoplatform.container.configuration.ConfigurationException - the configuration exceptionpublic final boolean isActive()
public boolean isSupportedType(String type)
type - the typetrue, if is supported type, false otherwisepublic abstract String getTitle()
public String getDescription()
getDescription in interface org.exoplatform.container.component.ComponentPlugingetDescription in class org.exoplatform.container.component.BaseComponentPluginpublic String getDescription(Locale locale)
locale - the locale, can be null then default locale will be assumed.public boolean isLogEnabled()
public abstract String getVersion()
public abstract String getType()
getSupportedTypes().public abstract String[] getSupportedTypes()
public abstract UserInfo.IMInfo getIMInfo(String imId) throws CallProviderException
UserInfo.IMInfo instance for given IM identifier.imId - the IM identifierUserInfo.IMInfo or null if IM not supported by the providerCallProviderException - if the provider cannot recognize given IM id or failed to instantiate
an UserInfo.IMInfo objectCopyright © 2003–2020 eXo Platform SAS. All rights reserved.