Package tigase.muc
Class MUCConfig
- java.lang.Object
-
- tigase.muc.MUCConfig
-
@Bean(name="mucConfig", parent=MUCComponent.class, active=true, exportable=true) public class MUCConfig extends Object- Author:
- bmalkow
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanaddMessageIdIfMissingprotected BooleanchatStateAllowedprotected Loggerlogstatic StringLOG_DIR_KEYstatic StringMESSAGE_FILTER_ENABLED_KEYstatic StringMUC_ADD_ID_TO_MESSAGE_IF_MISSING_KEYstatic StringMUC_ALLOW_CHAT_STATES_KEYstatic StringMUC_LOCK_NEW_ROOM_KEYstatic StringMUC_MULTI_ITEM_ALLOWED_KEYprotected static StringMUC_REPO_CLASS_PROP_KEYprotected static StringMUC_REPO_URL_PROP_KEYstatic StringPRESENCE_FILTER_ENABLED_KEY
-
Constructor Summary
Constructors Constructor Description MUCConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetChatLoggingDirectory()tigase.xmpp.jid.BareJIDgetServiceName()booleanisAddMessageIdIfMissing()booleanisAutomaticallyPersistOccupantOnJoin()booleanisChatStateAllowed()booleanisGhostbusterEnabled()booleanisMessageFilterEnabled()booleanisMultiItemMode()booleanisNewRoomLocked()booleanisPresenceFilterEnabled()booleanisWelcomeMessagesEnabled()booleanuseLegacyDelayedDelivery()
-
-
-
Field Detail
-
LOG_DIR_KEY
public static final String LOG_DIR_KEY
- See Also:
- Constant Field Values
-
MESSAGE_FILTER_ENABLED_KEY
public static final String MESSAGE_FILTER_ENABLED_KEY
- See Also:
- Constant Field Values
-
MUC_ADD_ID_TO_MESSAGE_IF_MISSING_KEY
public static final String MUC_ADD_ID_TO_MESSAGE_IF_MISSING_KEY
- See Also:
- Constant Field Values
-
MUC_ALLOW_CHAT_STATES_KEY
public static final String MUC_ALLOW_CHAT_STATES_KEY
- See Also:
- Constant Field Values
-
MUC_LOCK_NEW_ROOM_KEY
public static final String MUC_LOCK_NEW_ROOM_KEY
- See Also:
- Constant Field Values
-
MUC_MULTI_ITEM_ALLOWED_KEY
public static final String MUC_MULTI_ITEM_ALLOWED_KEY
- See Also:
- Constant Field Values
-
PRESENCE_FILTER_ENABLED_KEY
public static final String PRESENCE_FILTER_ENABLED_KEY
- See Also:
- Constant Field Values
-
MUC_REPO_CLASS_PROP_KEY
protected static final String MUC_REPO_CLASS_PROP_KEY
- See Also:
- Constant Field Values
-
MUC_REPO_URL_PROP_KEY
protected static final String MUC_REPO_URL_PROP_KEY
- See Also:
- Constant Field Values
-
log
protected final Logger log
-
addMessageIdIfMissing
@ConfigField(desc="Add ID to messages if missing", alias="muc-add-id-to-message-if-missing") protected boolean addMessageIdIfMissing
-
chatStateAllowed
@ConfigField(desc="Allowing Chat-States", alias="muc-allow-chat-states") protected Boolean chatStateAllowed
-
-
Method Detail
-
getChatLoggingDirectory
public String getChatLoggingDirectory()
-
getServiceName
public tigase.xmpp.jid.BareJID getServiceName()
-
isAddMessageIdIfMissing
public boolean isAddMessageIdIfMissing()
-
isAutomaticallyPersistOccupantOnJoin
public boolean isAutomaticallyPersistOccupantOnJoin()
-
isChatStateAllowed
public boolean isChatStateAllowed()
-
isGhostbusterEnabled
public boolean isGhostbusterEnabled()
-
isMessageFilterEnabled
public boolean isMessageFilterEnabled()
-
isMultiItemMode
public boolean isMultiItemMode()
-
isNewRoomLocked
public boolean isNewRoomLocked()
-
isPresenceFilterEnabled
public boolean isPresenceFilterEnabled()
-
isWelcomeMessagesEnabled
public boolean isWelcomeMessagesEnabled()
-
useLegacyDelayedDelivery
public boolean useLegacyDelayedDelivery()
-
-