public static final class CreateRoomSettings.RoomExtensionSettings
extends java.lang.Object
Each extension can define 3 parameters
Constructor and Description |
---|
RoomExtensionSettings(java.lang.String id,
java.lang.String className) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getClassName()
Get the fully qualified name of the Extension main class
|
java.lang.String |
getId()
Get the extension id
|
java.lang.String |
getPropertiesFile()
Get the name of the custom config properties file
|
void |
setPropertiesFile(java.lang.String propertiesFile)
Set an optional properties file that will be loaded when the Extension is initialized.
|
java.lang.String |
toString() |
public RoomExtensionSettings(java.lang.String id, java.lang.String className)
id
- the id must correspond to the Extension's folder name under the extensions/ directoryclassName
- the fully qualified name of the Extension main class (extending BaseSFSExtension
or SFSExtension
)public java.lang.String getId()
public java.lang.String getClassName()
public void setPropertiesFile(java.lang.String propertiesFile)
The properties are immediately available in your extension via the BaseSFSExtension.getConfigProperties() protected method.
propertiesFile
- the name of the custom config properties file.public java.lang.String getPropertiesFile()
public java.lang.String toString()
toString
in class java.lang.Object