Class PluginConfig
java.lang.Object
org.exoplatform.commons.api.notification.plugin.config.PluginConfig
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAdditionalChannel(String channel) addKeyMapping(String key, String value) getKeyValue(String key, String defaultValue) getOrder()booleanisChildPlugin(boolean isChildPlugin) voidsetAdditionalChannels(List<String> additionalChannels) voidsetBundlePath(String bundlePath) voidsetDefaultConfig(List<String> defaultConfig) voidsetGroupConfig(GroupConfig groupConfig) voidsetGroupId(String groupId) voidsetKeyMapping(Map<String, String> keyMapping) voidvoidsetPluginId(String pluginId) voidsetResourceBundleKey(String resourceBundleKey) voidsetTemplateConfig(TemplateConfig templateConfig)
-
Field Details
-
DEFAULT_SRC_RESOURCE_BUNDLE_KEY
- See Also:
-
SUBJECT_KEY
- See Also:
-
DIGEST_KEY
- See Also:
-
DIGEST_ONE_KEY
- See Also:
-
DIGEST_THREE_KEY
- See Also:
-
DIGEST_MORE_KEY
- See Also:
-
FOOTER_KEY
- See Also:
-
-
Constructor Details
-
PluginConfig
public PluginConfig()
-
-
Method Details
-
getPluginId
- Returns:
- the pluginId
-
setPluginId
- Parameters:
pluginId- the pluginId to set
-
getResourceBundleKey
- Returns:
- the resourceBundleKey
-
setResourceBundleKey
- Parameters:
resourceBundleKey- the resourceBundleKey to set
-
getOrder
- Returns:
- the order
-
setOrder
- Parameters:
order- the order to set
-
getDefaultConfig
- Returns:
- the defaultConfig
-
setDefaultConfig
- Parameters:
defaultConfig- the defaultConfig to set
-
getGroupId
- Returns:
- the groupId
-
setGroupId
- Parameters:
groupId- the groupId to set
-
isChildPlugin
public boolean isChildPlugin()- Returns:
- the isChildPlugin
-
isChildPlugin
- Parameters:
isChildPlugin- the isChildPlugin to set return the PluginConfig
-
getGroupConfig
- Returns:
- the groupConfig
-
setGroupConfig
- Parameters:
groupConfig- the groupConfig to set
-
getBundlePath
- Returns:
- the bundlePath
-
setBundlePath
- Parameters:
bundlePath- the bundlePath to set
-
getKeyMapping
- Returns:
- the keyMapping
-
setKeyMapping
- Parameters:
keyMapping- the keyMapping to set
-
addKeyMapping
-
getKeyValue
-
getTemplateConfig
- Returns:
- the templateConfig
-
setTemplateConfig
- Parameters:
templateConfig- the templateConfig to set
-
getAdditionalChannels
-
setAdditionalChannels
-
addAdditionalChannel
-