Package org.xwiki.notifications
Interface NotificationConfiguration
-
@Role public interface NotificationConfiguration
Get the configuration options concerning the Notification module.- Since:
- 9.4RC1
- Version:
- $Id: 263018000649e96fc08d0e8532c170911b12970a $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description boolean
areEmailsEnabled()
default int
getAsyncPoolSize()
default int
getRESTPoolSize()
boolean
isEnabled()
default boolean
isEventPrefilteringEnabled()
default boolean
isRestCacheEnabled()
int
liveNotificationsGraceTime()
Get the number of minutes for the notification emails grace time.
-
-
-
Method Detail
-
isEnabled
boolean isEnabled()
- Returns:
- true if the notification module should be enabled
-
areEmailsEnabled
boolean areEmailsEnabled()
- Returns:
- true if the notification module can send emails
- Since:
- 9.5RC1
-
liveNotificationsGraceTime
int liveNotificationsGraceTime()
Get the number of minutes for the notification emails grace time. If the value is 0, then the email will be instantly sent.- Returns:
- the number of minutes that should last before sending a live notification mail
- Since:
- 9.6RC1
-
isEventPrefilteringEnabled
default boolean isEventPrefilteringEnabled()
- Returns:
- true if pre filtering should be used for ALERT user notifications
- Since:
- 12.6
-
isRestCacheEnabled
default boolean isRestCacheEnabled()
- Returns:
- true if the REST/async cache is enabled.
- Since:
- 12.2
-
getRESTPoolSize
default int getRESTPoolSize()
- Returns:
- the number of threads to use for computing notifications in REST.
- Since:
- 12.5RC1
-
getAsyncPoolSize
default int getAsyncPoolSize()
- Returns:
- the number of threads to use for computing notifications in Async renderer.
- Since:
- 12.5RC1
-
-