org.jivesoftware.sparkimpl.plugin.manager
Class Enterprise
java.lang.Object
org.jivesoftware.sparkimpl.plugin.manager.Enterprise
public class Enterprise
- extends java.lang.Object
EnterpriseSparkManager is responsible for the detecting of features on the server. This allows for fine-grain control of
feature sets to enable/disable within Spark.
- Author:
- Derek DeMoro
Method Summary |
static boolean |
containsFeature(java.lang.String feature)
Returns true if the feature is available. |
boolean |
isSparkManagerInstalled()
Returns true if the Enterprise Spark Manager module is installed on the server we are currently connected to. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BROADCAST_FEATURE
public static final java.lang.String BROADCAST_FEATURE
- See Also:
- Constant Field Values
MUC_FEATURE
public static final java.lang.String MUC_FEATURE
- See Also:
- Constant Field Values
VCARD_FEATURE
public static final java.lang.String VCARD_FEATURE
- See Also:
- Constant Field Values
FILE_TRANSFER_FEATURE
public static final java.lang.String FILE_TRANSFER_FEATURE
- See Also:
- Constant Field Values
Enterprise
public Enterprise()
isSparkManagerInstalled
public boolean isSparkManagerInstalled()
- Returns true if the Enterprise Spark Manager module is installed on the server we are currently connected to.
- Returns:
- true if Enterprise Spark Manager exists.
containsFeature
public static boolean containsFeature(java.lang.String feature)
- Returns true if the feature is available.
- Parameters:
feature
- the name of the feature to detect.
- Returns:
- true if the feature is available on the server, otherwise false.