|
Jive Forums API (5.5.20.2-oracle) Developer Javadocs | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jivesoftware.forum.im.IMSettingsUtils
public class IMSettingsUtils
Contains static utility methods for accessing XMPP configuration settings as well as other IM settings.
Method Summary | |
---|---|
static ForumsChatSettings |
getChatSettings()
Returns a ForumsChatSettings instance. |
int |
getXMPP_SSLPort()
Returns the port to use for SSL XMPP connections. |
static int |
getXMPPAdminPort()
Returns the port of the admin console of the configured Wildfire server. |
static java.lang.String |
getXMPPHost()
Returns the host name of the configured XMPP server. |
static int |
getXMPPPort()
Returns the port of the configured XMPP server. |
static boolean |
isAIMPresenceEnabled()
Returns true if AOL IM presence has been enabled in the admin console. |
static boolean |
isGroupChatEnabled()
Returns true if XMPP integration is enabled. |
static boolean |
isGuestChatEnabled()
Returns true if guest group chat (which requires no login) is enabled. |
static boolean |
isRegisteredChatEnabled()
Returns true if registered group chat (which requires login) is enabled. |
static boolean |
isXMMPPresenceEnabled()
Returns true if XMPP presence has been enabled in the admin console. |
boolean |
isXMPP_SSLEnabled()
Returns true if forums is configured to connect to an XMPP server via SSL. |
static boolean |
isXMPPConfigured()
|
static void |
setSettings(ForumsChatSettings settings)
Sets the ForumsChatSettings for this installation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static boolean isGroupChatEnabled()
public static boolean isRegisteredChatEnabled()
public static boolean isGuestChatEnabled()
public static boolean isXMPPConfigured()
public static boolean isXMMPPresenceEnabled()
public static boolean isAIMPresenceEnabled()
public static java.lang.String getXMPPHost()
public static int getXMPPPort()
public static int getXMPPAdminPort()
public boolean isXMPP_SSLEnabled()
public int getXMPP_SSLPort()
public static ForumsChatSettings getChatSettings()
ForumsChatSettings
instance. If no IM settings have ever
been set in the admin console, an instance with default values is returned. (Ports will
be set to default values, boolean flags will be false, and hostname will be null.)
ForumsChatSettings
instance.public static void setSettings(ForumsChatSettings settings)
ForumsChatSettings
for this installation. The settings
will be immediately written to the file system.
settings
- the ForumsChatSettings
for this installation.
|
Jive Forums Project Page | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |