java.lang.Object
fr.paris.lutece.plugins.workflow.modules.notifygru.web.notificationconfig.impl.EmailNotificationConfig
All Implemented Interfaces:
INotificationConfig

public class EmailNotificationConfig extends Object implements INotificationConfig
This class represents a configuration for the email notification
  • Constructor Details

    • EmailNotificationConfig

      public EmailNotificationConfig(jakarta.servlet.http.HttpServletRequest request, TaskNotifyGruConfig config)
      Constructor
      Parameters:
      request - the request used by this configuration
      config - the configuration of the task
  • Method Details

    • getName

      public String getName()
      Gives the name of the notification configuration
      Specified by:
      getName in interface INotificationConfig
      Returns:
      the name
    • isActive

      public boolean isActive()
      Tests if this notification configuration is active or not
      Specified by:
      isActive in interface INotificationConfig
      Returns:
      true if the notification configuration is active, false otherwise
    • setActive

      public void setActive(boolean bActive)
      Activates or deactivates this notification configuration depending to the specified boolean
      Specified by:
      setActive in interface INotificationConfig
      Parameters:
      bActive - true if this notification configuration must be activated, false if it must be deactivated
    • getValidator

      public AbstractNotificationConfigValidator getValidator()
      Gives the validator for this notification configuration
      Specified by:
      getValidator in interface INotificationConfig
      Returns:
      the validator
    • addConfig

      public void addConfig()
      Adds this notification configuration
      Specified by:
      addConfig in interface INotificationConfig
    • removeConfig

      public void removeConfig()
      Removes this notification configuration
      Specified by:
      removeConfig in interface INotificationConfig
    • getNotificationType

      public fr.paris.lutece.plugins.grubusiness.business.notification.EnumNotificationType getNotificationType()
      Description copied from interface: INotificationConfig
      get notification type
      Specified by:
      getNotificationType in interface INotificationConfig
      Returns: