Class BroadcastNotificationConfig
- java.lang.Object
-
- fr.paris.lutece.plugins.workflow.modules.notifygru.web.notificationconfig.impl.BroadcastNotificationConfig
-
- All Implemented Interfaces:
INotificationConfig
public class BroadcastNotificationConfig extends java.lang.Object implements INotificationConfig
This class represents a configuration for the broadcast notification
-
-
Constructor Summary
Constructors Constructor Description BroadcastNotificationConfig(javax.servlet.http.HttpServletRequest request, TaskNotifyGruConfig config)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddConfig()Adds this notification configurationjava.lang.StringgetName()Gives the name of the notification configurationAbstractNotificationConfigValidatorgetValidator()Gives the validator for this notification configurationbooleanisActive()Tests if this notification configuration is active or notvoidremoveConfig()Removes this notification configurationvoidsetActive(boolean bActive)Activates or deactivates this notification configuration depending to the specified boolean
-
-
-
Constructor Detail
-
BroadcastNotificationConfig
public BroadcastNotificationConfig(javax.servlet.http.HttpServletRequest request, TaskNotifyGruConfig config)Constructor- Parameters:
request- the request used by this configurationconfig- the configuration of the task
-
-
Method Detail
-
getName
public java.lang.String getName()
Gives the name of the notification configuration- Specified by:
getNamein interfaceINotificationConfig- Returns:
- the name
-
isActive
public boolean isActive()
Tests if this notification configuration is active or not- Specified by:
isActivein interfaceINotificationConfig- Returns:
trueif the notification configuration is active,falseotherwise
-
setActive
public void setActive(boolean bActive)
Activates or deactivates this notification configuration depending to the specified boolean- Specified by:
setActivein interfaceINotificationConfig- Parameters:
bActive-trueif this notification configuration must be activated,falseif it must be deactivated
-
getValidator
public AbstractNotificationConfigValidator getValidator()
Gives the validator for this notification configuration- Specified by:
getValidatorin interfaceINotificationConfig- Returns:
- the validator
-
addConfig
public void addConfig()
Adds this notification configuration- Specified by:
addConfigin interfaceINotificationConfig
-
removeConfig
public void removeConfig()
Removes this notification configuration- Specified by:
removeConfigin interfaceINotificationConfig
-
-